Banks
BlitzPlus Forums/BlitzPlus Programming/Banks| 
 | ||
| I have a quick question about banks. Does any info that is put into a bank stay in memory? Or is it terminated after the program ends, even if it isn't told so with a function. -Rich05 | 
| 
 | ||
| It should be cleared by blitz on exit (assuming a normal exit). | 
| 
 | ||
| Interesting detail, if I don't freegadget my app before I quit it, it leaves a blank sqaure in my taskbar (click and it's gone). If I don't free-up my stuff, my taskbar is hidden, and I spend half an hour on running, coding etc. then I easily have 40++ blank squares in my taskbar .. :) this: Create/Load Use Clear Quit ..is the proper order ! | 
| 
 | ||
| Blitz cleans up after itself. But that doesn't mean you should be sloppy... | 
| 
 | ||
| But I mean, I want it to be sloppy, sort of. I want to beable to use info in a bank i made earlier (in a sepparate program) and use it for whatever i need now. Can I "save" a bank so I can use the info in it in a later app? CS_TBL you said something about loading... is there a loadbank thing? -Rich05 | 
| 
 | ||
| If you quit your program all the data in the bank is lost. But you can save a bank in a file on disk using the WriteBytes command. To do what you want in memory you need to use a memory mapped file. |