CoreClasses Xojo Plugin

IArrayReader.Operator_Subscript Method (console safe)

Implements operator to read from the array with the ( ) indexer operator.

Operator_Subscript(
   index as Integer) as Object

Parameters

index
Use this parameter to specify which item to read from or write to.

Returns

Object

Remarks

This operator is to do syntax like a = myArray(5) which is equal to a = myArray.GetAt(5)

Only REALbasic 2010r4 and later support this operator.

See Also

IArrayReader Interface