Field-Map Scripting

4.1.10.4 VarArrayCreate

VarArrayCreate function


Prototype:

function VarArrayCreate(const Bounds :array of integer; VarType_ :word) :variant;

Description:

creates a variant array with the bounds given by Bounds and the element type given by VarType.

Syntax:

variable:= VarArrayCreate(Bounds, VarType);


Part

Description


variable

variable declared as a variant


Bounds

must contain an even number of values, where each pair of values specifies the upper and lower bounds of one dimension of the array.


VarType

variant type code

Return value:

variant array


Note: This function is available since version X7.




See also:

SetArrayLength; GetArrayLength; VarArrayOf; VarArrayCreate; VarArrayDimCount; VarArrayLowBound; VarArrayHighBound; VarType; VarIsArray; VarIsNumeric; SetVarArrayValue; GetVarArrayValue