Handling several Type-lists

Blitz3D Forums/Blitz3D Beginners Area/Handling several Type-lists

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.

You could make use of blitz arrays but unfortunately they're not dynamic in size. Otherwise go with the linked list suggestion by Lomen.

const MaxObjects = 10

Type FXEntity
	Field Obj[ MaxObjects ].FXObject ; Contains all objects used by the specific Effect.
        Field TimeCounter  ; Starts from 0 and increases for every update.
End Type