How to delete media from memory?

BlitzMax Forums/BlitzMax Beginners Area/How to delete media from memory?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Short Answer:-

Generally, you don't. Let the garbage collector do it's thing and don't worry about it.


I shall leave it to the throng to supply you with the long answer... ;o)

[edit]
Have a look at this in the meantime. Ignore the references to FlushMem() as collection is done automatically now (or use GCCollect if you must) and MemAlloced() has become GCMemAlloced().

Or open up the IDE and look at...
Help Panel>Tutorials and Articles>BlitzMax Memory Management
[/edit]