VariantArray.Operator_Subscript Method (console safe)
Implements operator to read from the array with the ( ) indexer operator.

Operator_Subscript(
index
as Integer)
as Variant
Parameters
- index
- Use this parameter to specify which item to or read from.
Returns
- Variant
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
VariantArray Class