GLBasic User Manual

Main sections

DIMPUSH

DIMPUSH array[], entry



This command adds an entry to the end of a one-dimensional array. The array can be an array of TYPEs.

It's simply a shorter writing of:
m=BOUNDS(array[], 0)
REDIM array[m+1]
array[m] = entry

See also...