Error getting tags :
error 404Error getting tags :
error 404 substacks | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
substacks
Basics
Expander triangle
Type
Property
Syntax
set the substacks of stack to substacksList
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies which stacks are associated with a main stack, and saved in the same file.
Examples

put the substacks of this stack after loadedStacks
if the substacks of stack "Hello" contains "Goodbye" then exit mouseUp
get the substacks of stack "/Disk/Folder/stackfile.rev"

Additional Comments
Expander triangle

Use the substacks property to organize stacks in files.

Value:

The substacks of a stack is a list of stacks, one per line.

Comments:

Each Revolution file contains either a single main stack, or a main stack and one or more substacks. The substacks property reports on the substacks of a main stack.

The substacks of a substack is empty. Attempting to set the substacks property of a substack causes an execution error.

Setting the substacks of a main stack to empty removes all the substacks from memory. The next time the main stack is saved, the substacks are removed permanently.

Caution! You can move a substack from one main stack to another by setting the substacksproperty of the destination stack. However, since this may cause a conflict if more than one substack with the same name is open or in memory, it is safer to move a substack by setting the substack'smainStackproperty.

User Comments
Expander triangle
User thumbnail
shaosean@wehostmacs.com
StarStarStarStarStar
May 17, 2009
Returns the short names of the substacks (so no "stack" prefix)