FILLARRAY

Syntax

FILLARRAY array list

Explanation

FILLARRAY initialized the array or bytearray named in its first input with the data in the list given as its second input. If the list is non-structured, the array is filled sequentially regardless of its dimensions. If the list is structured, the array is filled according to the structure of the list and its dimensions.

Example

? MAKE "A ARRAY [2 2]

? FILLARRAY "A [WORD.1 WORD.2 WORD.3 WORD.4]

? LISTARRAY "A

Result: WORD.1 WORD.2][WORD.3 WORD.4

?