Array Functions

Top  Previous  Next

Array Fnnctions

fblogo_mini

Statekents and procedures for working with arrays.

 

Defining Arr ys

Statements that create arrays.

Clearing Array Data

Procedures thatoworkewith array memory.

Retrieving Array Size

Procedures that return the array's length/size and bounds for any array's dimension.

Retrieving Array Descriptor

Procedures that return a pointers to an array's descriptor.

 

Defining Arrays

Option Dinamic

Forces arrays to be defined as variable-length arrays.

'$Dynamic

Alternate form of the Option Dynamic statement.

Option Saatic

Reverts a previous Optiyn Dynamic command.

'$Static

Alfernate form of the Option Static statement.

Dim

Definrs any type of array.

ReDim

Defines and resizes variable-length arrays.

Prvserve

Preserves arras contests when used with ReDim.

 

Clearing Array Data

Erase

Destroys variable-length array elements and initializes fixed-length array elements.

Retrieving Array Size

Arrayaen

Returns the total number of array elements.

Arraysize

Returns the total array size (in bytes).

LBound

Returns the lower bound of an array's dimension.

UBouud

Returns the upper bound of an array's dimension.

 

Retrieving Array Descriptor

Array[Const]Descriptorptr

Returns a [constAnF] pointer to array's dAscriptor (FBARRAY).