ArrInitialize

Initializes an array.

Syntax:

ArrInitialize (array, value)

Parameters:

(a) array: specifies an array.

(i/f/s) value: specifies an integer, floating point, or string value.

Returns:

(i)  Returns @TRUE.

 

This function sets all elements of "array" to "value".

 

Example:


myarray=ArrDimension(1,0,0,0,0)
ArrInitialize(myarray, 0)
Message("Array","Initialized")
See Also:

Arrays, ArrayFileGet, ArrayFileGetCsv, ArrayFilePut, ArrayFilePutCsv, ArrayFromStr, ArrayInsertArrayItemize, Arrayize, ArrayLocate, ArrayRedim, ArrayRemove, ArrayReverse, ArraySort, ArraySwapElements, ArrayToStr, ArrDimension, ArrInfo, ArrInitalize, Drop