Multiple instances of open stacks?
Jeanne A. E. DeVoto
revolution at jaedworks.com
Sat Feb 4 14:12:24 EST 2006
At 1:39 AM -1000 2/4/2006, Sivakatirswami wrote:
>Is it normal to see multiple instances of open stack in the stack function?
Yes, it is normal if there are substacks - the stack's filename will
appear once for each main stack or substack in the file. Quote: "The
file paths of substacks are included, but the stack names themselves
are not. This means that if more than one stack in a file is open,
that file's path appears more than once in the list returned by the
stacks function."
It really ought to be called the stackFiles function, except that
name is already taken by the stackFiles property. ;-)
(You might want to look at the openStacks and revLoadedStacks
functions also - they might come closer to what you need.)
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list