riarrayslib
This library has a single statement, FillArray, which sets every
element of an array to one value, or to 0.
It works only on arrays of the types byte, word and long; on an array
of any other type, such as quick, float or string, it does nothing.
The command is copied into the program at each place it is used, and
works in Amiga and Blitz mode.
Dim a.w(99)
FillArray a(),-1
FillArray a()The fixed bug of the library is described in Fixes in riarrayslib.
Library number 7.
Commands
FillArray
Sets every element of a byte, word or long array to value, or to 0 without a value. The array is given with empty brackets, as a().
Statement. Help text: array(),value -- only byte/word/long arrays!
2 forms:
array(), anyarray()
Arrays of other types are left unchanged, and so is an array without elements. For a byte or word array, only the low byte or word of the value is stored.