CoreClasses Xojo Plugin

BitArray.Item Method (console safe)

Use this setter/getter function to read or write to a item in the array.

Item(
   n as UInt64) as Boolean

Item(
   n as UInt64
   assigns value as Boolean)

Parameters

n
Use this parameter to specify which item to read from or write to.
value (assignment parameter)
The value to assign when using the setter function.

Returns

Boolean
The requested value when using the getter function.

Remarks

BitArray is 0 based, that is the first string is number 0.

If you have REALbasic 2010r4 or later then you can use the Operator_Subscript to address the elements of the array instead. (as in myValue = myArray(0) instead of myValue = myArray.Item(0) )

See Also

BitArray Class