@Hakea : I'm a newbie to BlitzMax as well; I'm being over-cautious with my comments - don't mind me.
For my own data management I created a Node class :
I was going to use this as the basis for a primitive scene graph and use the position in the tree to determine sort order / render. I can add / detach / delete Nodes from each other...
For my own data management I created a Node class :
.. partial code .. Type Node Field nParent:Node Field nChild:Node Field nPrev:Node Field nNext:Node Field sName:String Global numNodes = 0 'Constructor Method New() nParent = Null nChild = Null nPrev = Self nNext = Self numNodes:+1 End Method ... code continues
I was going to use this as the basis for a primitive scene graph and use the position in the tree to determine sort order / render. I can add / detach / delete Nodes from each other...