last type

Blitz3D Forums/Blitz3D Beginners Area/last type

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.

Type alien
Field x,y
End Type

For f= 0 To 10
a.alien = New alien
If f = 10 a\x = 20
Next

a = Last alien
Print a\x
Stop
End
OR
Type alien
Field x,y
End Type

For f= 0 To 10
a.alien = New alien
If f = 10 a\x = 20
Next

a = First alien
While a <> Last alien
a = After a
Wend

Print a\x
Stop
End