? Deleted Types that contain lists

BlitzMax Forums/BlitzMax Programming/? Deleted Types that contain lists

I have a Map Type that contains Layerlists to hold layer drawing info

ie

Type Map
Field Base1List:Tlist
Field Blend1List:Tlist
Field Shade1list:Tlist
Field Light1list:Tlist
ect
End Type

Type Layer
Field GL_X[]
Field GL_Y[]
End Type


The Layer Types are added to the lists in the Map type and the Map type is added to a Maplist.

If i delete a instance of map from maplist will this really delete all instances of layer contained within Map Layerlists.

This is what i hope to achieve to speed up creation and destruction by deleting whole branches when not needed.

any feedback welcome Cheers :)

If i delete a instance of map from maplist will this really delete all instances of layer contained within Map Layerlists.
Providing there are no other references to them, yes.

and remember to use flushmem


and remember to use flushmem


Don't worry about that--by the end of the week, all being well, you won't need it.

thanks n all (autoflushmen) \o,