Re: Stacks and Sub Stacks

2019-09-28 Thread J. Landman Gay via use-livecode
Is the handler in a script-only stack? Maybe the editor doesn't or can't scan those. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 27, 2019 10:31:22 PM Sannyasin Brahmanathaswami via use-livecode wrote: Thanks for answers

Re: Stacks and Sub Stacks

2019-09-28 Thread Paul Dupuis via use-livecode
On 9/27/2019 11:29 PM, Sannyasin Brahmanathaswami via use-livecode wrote: No one answers the other question, so I will ask it here, as it goes to Message Hierarchy "put gotSomeFruit() into tBanana" where " gotSomeFruit ()" is among the functions/handlers is found among "stackInUse". ie.

Re: Stacks and Sub Stacks

2019-09-27 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks for answers of "how to get a list of all stacks?" put revLoadedStacks() put the mainstack stacksinuse all good! But, they return different resultsvery interesting... stackInUse does not include some stacks reported by "revLoaderStacks()" both lists have their use cases... but the

Re: Stacks and Sub Stacks

2019-09-25 Thread Bob Sneidar via use-livecode
I like using SubStacks because I only need to open one file to get everything related to a project. Some people don't like using them because there are certain things that happen that you wouldn't expect. For instance, any preOpenStack, openStack, suspendStack, resumeStack etc. messages generate

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
Should, of course, be: on mouseUp   answer "Sub" && random(99)   -- pass mouseUp end mouseUp I really, really do not like the use-list. Craig -Original Message- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx Sent: Wed, Sep 25, 2019 3:45 pm Subject:

Re: Stacks and Sub Stacks

2019-09-25 Thread Peter Bogdanoff via use-livecode
uded in the final package. >> Just practice a bit. >> Craig >> >> -Original Message- >> From: Patrick Roza via use-livecode >> To: use-livecode >> Cc: Patrick Roza >> Sent: Wed, Sep 25, 2019 9:18 am >> Subject: Stacks and Sub Stacks >

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
Hi. Substacks are below (Hi, Jacque) the mainStack which own them in the message hierarchy. Try this: Make a new stack, name it "Main1". Make a sub stack of that stack, and name it "Sub1". Put this into the script of the main stack: on mouseUp   answer "Main" && random(99) end mouseUp Now put t

Re: Stacks and Sub Stacks

2019-09-25 Thread Mark Smith via use-livecode
bstacks are included in the final package. > Just practice a bit. > Craig > > -Original Message- > From: Patrick Roza via use-livecode > To: use-livecode > Cc: Patrick Roza > Sent: Wed, Sep 25, 2019 9:18 am > Subject: Stacks and Sub Stacks > > Looking for so

Re: Stacks and Sub Stacks

2019-09-25 Thread Phil Davis via use-livecode
On 9/25/19 7:43 AM, Sannyasin Brahmanathaswami via use-livecode wrote: Related: if you have this in the message box. put the openstacks you only get the 1. presently open binary stacks 2. any script only stack that you explicitly have open in the IDE Some more options: put revLo

Re: Stacks and Sub Stacks

2019-09-25 Thread J. Landman Gay via use-livecode
There's "the stacksInUse" for those. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 25, 2019 9:45:22 AM Sannyasin Brahmanathaswami via use-livecode wrote: Related: if you have this in the message box. put the openstack

Re: Stacks and Sub Stacks

2019-09-25 Thread Sannyasin Brahmanathaswami via use-livecode
Related: if you have this in the message box. put the openstacks you only get the 1. presently open binary stacks 2. any script only stack that you explicitly have open in the IDE But, can you we a list of all stacks available to the message path "right now" We can query the stack file

Re: Stacks and Sub Stacks

2019-09-25 Thread dunbarx--- via use-livecode
am Subject: Stacks and Sub Stacks Looking for some good examples of the Main stack used with sub stacks. Looking for best practices on usage. Also using text-only stacks. Thanks, Patrick ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Stacks and Sub Stacks

2019-09-25 Thread Patrick Roza via use-livecode
Looking for some good examples of the Main stack used with sub stacks. Looking for best practices on usage. Also using text-only stacks. Thanks, Patrick ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsu