CoreClasses REAL Studio Plugin

VariantArray Class

VariantArray is a high speed relocatable variant array class.

The variant array is different from REALbasic array since a variant array can be inherited, variants can be sorted, items can be swapped, plugins can use it for cross talk, and it has a iterator interface.

Object
   VariantArray

class VariantArray implements

IVariantAddable

Constructors

VariantArrayThe default constructor for the VariantArray class.
VariantArrayUse this constructor to construct a instance of the array and have influence on the grow rate of the array.

Methods

AddUse this method to add a variant to the array.
AppendUse this method to append a variant to the array.
CountUse this function to get the element count from the array.
IndexOfReturns a index of a element in the array.
InsertUse this method to insert a Variant to the array.
ItemUse this setter/getter function to read or write to a item in the array.
Operator_RedimImplements the Redim operator.
Operator_SubscriptImplements operator to read from the array with the ( ) indexer operator.
Operator_SubscriptImplements operator to write to the array with the ( ) indexer operator.
RemoveUse this method to remove a single variant from the array.
RemoveUse this method to remove variants from the array.
ResizeUse this method to resize the array.
SortUse this method to sort the array.
SwapUse this method to swap two Variants in the array.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: