looping through a type backwards?

Blitz3D Forums/Blitz3D Programming/looping through a type backwards?

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.

Pongo

You could also INSERT the sprite BEFORE the previous one upon creation, and thus use FOR...EACH like normal.

t.mytype = New mytype
Insert t Before First mytype

For this.mytype = Each mytype
;do something to 'this'
Next
This will insert the Sprite Before the First one in the collection, making it the first one in the collection.