Array Handles?

Blitz3D Forums/Blitz3D Beginners Area/Array Handles?

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.

There is no "array" data type.

I would say to just use a pointer to the first element. Can't really do that in Blitz, though.

The only workaround I can think of is to have your array within a custom type "wrapper", e.g.:
Type Particles
	Field particles[100]
End Type


Then you can create one instance of that type Particles (which will create the whole array), and just store that variable within your System type object.