'Clearing' an array

BlitzMax Forums/BlitzMax Beginners Area/'Clearing' an array

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Reinitializing it means trashing the old array, allocating memory space for the new one and recreating it. That might be slow.

Can't you just cycle through the array and set each value to 0?