can u cancel arrays?

BlitzPlus Forums/BlitzPlus Beginners Area/can u cancel arrays?

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.

For normal arrays use:
Dim ship(0)
..which makes it very small.

For 'Blitz arrays' use something like this:
Function blah()
	Local ship[19]
	;..do stuff to ships
End Function ; array is killed here

OR

Type arraycontainer
	Field ship[19]
End Type

ac.arraycontainer = new arraycontainer
;...
Delete ac