CoreClasses Xojo Plugin

StringArray.Operator_Subscript Method (console safe)

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

Operator_Subscript(
   index as Integer) as String

Parameters

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

Returns

String

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

StringArray Class