|Syntax||FILLARRAY array list or word
|Explanation||FILLARRAY initializes 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.
One-dimensional BYTEARRAYs may be filled by supplying a word as input. The characters of this word are stored into the BYTEARRAY, one byte per character.
|Example||MAKE "A ARRAY [2 2]
FILLARRAY :A [WORD.1 WORD.2 WORD.3 WORD.4]
Result: [[WORD.1 WORD.2][WORD.3 WORD.4]]