CoreClasses Xojo Plugin

ObjectArray.Operator_Subscript Method (console safe)

Implements operator to write to the array with the ( ) indexer operator.

Operator_Subscript(
   index as Integer,
   assigns value as Object)

Parameters

index
Use this parameter to specify which item to or write to.
value (assign parameter)
The value to set

Remarks

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

Only Xojo 2010r4 and later support this operator.

See Also

ObjectArray Class