GLBasic forum

Main forum => GLBasic - en => Topic started by: Hark0 on 2012-Feb-16

Title: iOS - GLB_ON_QUIT - Clear memory?
Post by: Hark0 on 2012-Feb-16
Hi!

Simple question about this code (from GLB help manual):

SUB GLB_ON_QUIT:
   // Clear any memory here
ENDSUB


On iOS devices are NEED to clear the memory using DIM a[0] for example...  or just QUIT????
Can clear the ram automatically?

TIA, Hark0


PS. To the help writter manual . Please add : to end to sub declaration line.  ;)
Title: Re: iOS - GLB_ON_QUIT - Clear memory?
Post by: Kitty Hello on 2012-Feb-17
quit also clears all memory.
You can write the current state in a savestate file here.
Title: Re: iOS - GLB_ON_QUIT - Clear memory?
Post by: Hark0 on 2012-Feb-17
Thanks!

I wasn't very sure of this matter.

;)