Casting objects - Polymorphism

BlitzMax Forums/BlitzMax Beginners Area/Casting objects - Polymorphism

just put the list as a global in the type...

@dmaz
Just finished spending half a day tracking down a memory leak.
Just for one small little object I had no internal list and remove method;
instead I got a cyclic reference.
The way you showed to encapsulate the lists really works perfect and
is a great help for cleanup.
Thank you!