Differentiating a substack from a mainstack
scott at tactilemedia.com
Wed Nov 20 16:18:37 EST 2013
I believe you could also check the owner:
if the owner of stack xyz is empty then
else return "substack"
Tactile Media, UX/UI Design
On 11/20/13 11:32 AM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
>All stacks have a mainstack property. With a mainstack, its mainstack
>property will be its own name, so:
>if the mainstack of this stack = the short name of this stack then
> put "I'm a mainStack"
> put "I'm a substack"
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter: http://twitter.com/FourthWorldSys
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
More information about the Use-livecode