Can anyone explain this?

BlitzMax Forums/BlitzMax Programming/Can anyone explain this?

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.

The purpose is to maintain a list of all created instances of a given type. Blitz3D and Blitz+ did this all for you internally. You could then use 'For blah = Each MyType' to loop through all instances.

Blitzmax does not create this list for you. You need to maintain/create it manually in order to not loose the instances you created. You can then use 'For blah:mytype = EachIn MyList' to loop through them.