Casting objects - Polymorphism

BlitzMax Forums/BlitzMax Beginners Area/Casting objects - Polymorphism

"global"s in a type are not associated with an instance but with the type itself. think of them being initialized at program start. just like functions you can access before any instances are created. TAlien.list.ClearList is valid and so would be TAlienBig.list.ClearList.

like Brucey said, New() is special and all of them will be called in order with out using super.

If I would use just an "list:tlist=new tlist"
a new list is created each time a new TAlien is build!?
I'm not sure what you are asking here?