New array commands
neilsf opened this issue · 0 comments
neilsf commented
Some new statements are to be introduced that support working on arrays. Some of them stolen from QB.
ERASE
: set all elements to zero
UBOUND()
: return the highest valid index (upper boundary) of an array
SWAP
: trades the values of two numerical values or array elements
FOREACH ... NEXT
: iterate through all elements in an array in a fast and convenient way