How to Free a Bank?

BlitzMax Forums/BlitzMax Beginners Area/How to Free a Bank?

SebHoll(Posted 2006) [#1]
Also, how do you free the contents of a large memory bank in BlitzMax before the application is terminated? I used to use the FreeBank() command in BlitzPlus but it's not listed in the docs.

Thanks

Seb


CS_TBL(Posted 2006) [#2]
bank=null

and optionally followed by:

gccollect


ImaginaryHuman(Posted 2006) [#3]
If it's before the app is terminated, don't bother, it will be autmatically freed when you terminate.


SebHoll(Posted 2006) [#4]
Thanks CS_TBL - just what I was looking for!