Delete Main Stack

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Jan 24 02:09:43 EST 2006


Hi Jeff,

The delete command removes a main stack from memory unless it's the  
last one available and that can't happen in the IDE.
In a standalone, just use the quit command.
To make things handy:

if the environment is "development" then close this stack
else quit

Le 24 janv. 06 à 00:44, Jeff Honken a écrit :

> Can anyone tell me why the following code works fine for Closing my  
> Main
> Stack when it's in the IDE Development environment but won't work on a
> standalone?  I'm closing the database and deleting the stack but it
> won't close the app as a standalone.
>
> revCloseDatabase gConID
> delete stack Main

Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list