J. Landman Gay
jacque at hyperactivesw.com
Tue Feb 16 11:56:45 CST 2010
Klaus on-rev wrote:
> Hi Jim,
>> Andrew Kluthe wrote:
>>> I need to check to see if a stack is open. Not sure of the syntax or
>>> even if
>>> that can be done.
>> Besides other suggestions given, you can also use:
>> If there is a stack "stackName" then...
> sorry, but this does not work as one might exspect! :-)
> If there is a stackfile "stackname.rev" in the defaultfolder then this will also resolve to true
> even if this stack is NOT open.
It will also return true if there is a substack with that name, whether
it is open or not. Also it returns true if a stack has been closed but
has its destroystack property set to false, in which case it is still in
RAM though not open.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode