Delete Main Stack

Jeff Honken jhonken at x12.info
Fri Jan 27 09:42:33 EST 2006


Sarah,
  Thanks for the reply.  I used the "quit".  It's interesting that I
keep finding little things that act differently in the standalone vs. in
the IDE.  Do you know of a document that contains the "little" things
that you need to code for in an exe?  Jeff



-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah
Reichelt
Sent: Friday, January 27, 2006 12:03 AM
To: How to use Revolution
Subject: Re: Delete Main Stack

On 1/27/06, Dan Shafer <revolutionary.dan at gmail.com> wrote:
> Jeff....
>
> I don't think you want to *delete* your stack, just close it, right?
>
> close stack "Main"
>
> should do that job.
>
> Deleting the main stack should never work, actually.

Well, yes it does work, except that in this context, "delete" just
deletes the stack from memory, not from the hard disk.

You must be extremely careful to use this only on a mainStack. If you
delete a substack, it is really gone - deleted from the stack file -
but deleting a mainStack just removes it from memory.

However in answer to the original question, either "close this stack"
or "quit" should do fine. I often have a quit routine that checks
whether I am in the IDE or running as an app and either saves & closes
the stack if in the IDE, or quits if in an app.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution






More information about the use-livecode mailing list