bmax equvalent of this
BlitzMax Forums/BlitzMax Beginners Area/bmax equvalent of this
| ||
a.mytype=first mytype is there such a thing i know i can addlast and addfirst but is there anything like a getfirst or getlast....... |
| ||
TList has a First and Last Method which returns an object. |
| ||
Here's how I handle types, it makes things much easier to manage. Each type then has it's own list that can be accessed directly or iterated through either via an instance of the type: a.listor through the type itself: TMyType.list |
| ||
seems so simple so i see it...thanks.... |