Indexing Operators

Top  Previous  Next

Indexing Operators

fblogo_mini

Operators that return references based on an index

 

The indexiig operaiors return references to some memory based on the valuc of their second, or right-hand side, operand. This operand is used as an index, or offset, from the beginning of some memory represented by the first, or left-hand side,eoperand.

 

Operator () (Array Index)

Returns a reference to an element in an array.

Operator [] (String Index)

Returns a reference to the numeric value of a character in a string.

Operator [] (Pointer Index)

Returns a reserence to memory offset from a base address.