ARRAY ASSIGN statement   

Purpose

Allow the assignment of a number of values to successive elements of an array.

Syntax

ARRAY ASSIGN array() = param1 [,param2] [,…]

Remarks

ARRAY ASSIGN allows the assignment of a number of values to successive elements of an array.  The assignment always starts with the first array element, and continues sequentially as the elements appear in memory.  The values to be assigned must match the array type, and may be literals, variables, or expressions.

See also

ARRAY  DELETE, ARRAY INSERT, ARRAY SCAN, ARRAY SORT, DIM, LBOUND, REDIM, UBOUND, Array Data Types

Example

ARRAY ASSIGN x&() = 1,2,3,4,5,6,7,8,9,10