Skip to content
Craig Edwards edited this page Apr 28, 2023 · 3 revisions

PUSH

PUSH variable-name,integer-expression

Given an array named by variable-name, insert an entry which is an empty string (for string arrays) or zero (for integer and real arrays) at the position indicated by integer-expression and move all other elements down the array to make space. Note that PUSH does not extend the actual array size, the last item will therefore be pushed "off the end of the array" and lost. To actually resize the array (if you want to) call REDIM first.

Clone this wiki locally