opening a stack without changing current stack order?

J. Landman Gay jacque at hyperactivesw.com
Sat Jan 10 17:20:24 EST 2015


On 1/10/2015 1:47 PM, Peter Haworth wrote:
> On Sat, Jan 10, 2015 at 11:18 AM, J. Landman Gay <jacque at hyperactivesw.com>
> wrote:
>
>> When you refer to a stack that way, it is placed in RAM but is not
>> officially "opened" per se, there are no messages sent to it, and it is not
>> in the message hierarchy.
>
>
> Didn't know that, useful.  Do such stacks show up in things like
> openStacks,revLoadedStacks?

You'd have to check the "rev" stuff. The stack isn't in the openstacks 
but it is in the mainstacks. And "there is a stack <short name>" returns 
true.

The stack behaves like any stack with destroystack set to false, after 
it has been closed. If it's important that it not be in RAM, the script 
needs to delete it.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list