CoreClasses Xojo Plugin

VariantArray.Operator_Subscript Method (console safe)

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

Operator_Subscript(
   index as Integer,
   assigns value as Variant)

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 REALbasic 2010r4 and later support this operator.

See Also

VariantArray Class