When you deal with external file stacks you have a lot of new things to keep in count, for example you cannot open a file stack that has the same name of a stack you use in your project because they can conflict (another one is that you cannot open file stacks with a integer as name because can conflict with the possibility of LC to refer to a stack with its name).
If you want to have a list of openStacks, you can use "the openStacks", is there also the possibility to dinamically list all the stack and substacks that make up a project (open and close ones)?
Listing all the stacks that make up a stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 132
- Joined: Mon Jan 14, 2013 3:37 pm
Re: Listing all the stacks that make up a stack
the mainStacks
lists all main stacks currently loaded into memory (one stack per line).
the subStacks of stack "mainStackName"
lists the substacks of a main stack, (one per line).
I hope this helps.
Gerrie
lists all main stacks currently loaded into memory (one stack per line).
the subStacks of stack "mainStackName"
lists the substacks of a main stack, (one per line).
I hope this helps.
Gerrie
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101
Re: Listing all the stacks that make up a stack
Thank you Gerrie, it's exactly what I was searching for.