Differentiating a substack from a mainstack

Peter Haworth pete at lcsql.com
Wed Nov 20 16:35:50 EST 2013

Interesting.  I see exactly the same name for the stack and its mainstack
no matter whether I create a new mainstack or a new substack of a main
stack.  As mentioned in my reply to Richard, this is using the IDE File
menu options to create the stacks, not doing it by script.

The openStack/newStack message is followed by a mainStackChanged message
when I create a substack but unfortunately that's too late for my use.

lcSQL Software <http://www.lcsql.com>

On Wed, Nov 20, 2013 at 12:18 PM, Mark Wieder <mwieder at ahsoftware.net>wrote:

> Pete-
> Wednesday, November 20, 2013, 11:24:57 AM, you wrote:
> > it appears that when creating a substack, its mainstack is set to
> > its own name when the openStack/newStack message is sent.
> Hmmm... that's not what I'm seeing. Catching openstack in a
> frontscript, I see the mainstack of the newly-created stack coming up
> with an id, as in
> Stack 1384976547
> --
> -Mark Wieder
>  ahsoftware at gmail.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list