Mr. Kibernetik wrote:I would like to, but it is impossible for application to remove itself from memory completely. Frankly speaking, it is even not permitted to exit application from inside application itself - in Apple they think that only user can close app by pressing Home button, and not in any other way. So, any kind of programming exit violates Apple's guidelines, and they have no proper means to perform this task.Henko wrote: Do you mean that SB is removed from the background as well? If not, could you implement the EXIT statement in that way?
(I frequently use a little SB app. When i forget to delete SB from the background, my iphone is totally dead after some hours, which is very nasty sometimes).
I think that EXIT should terminate all activity inside application, but memory will not be automatically freed.
I didn't realise smartBasic did not shut down with the exit command and I didn't even know apple considers it a sin to exit an app from within an app.