Error getting tags :
error 404Error getting tags :
error 404 templateStack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
templateStack
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Used with the set command to set the properties of newly created stacks.
Examples

set the ID of the templateStack to 2000

Additional Comments
Expander triangle

Use the templateStack keyword to set up default properties to be used for any new stacks you create.

Comments:

The templateStack can be thought of as a special, abstract object. It is not an actual stack, but it has all the properties of a stack. The ID property of the templateStack is 1001.

You can use the set command to set the properties of the templateStack before creating a stack. The new stack has the properties of the templateStack, by default. Changing the properties of the templateStack does not affect existing stacks.

The properties of the templateStack can be returned to the default settings using the reset command.

You can refer to the templateStack using any of the following forms:

templateStack

the templateStack

templateStack()

Note: The templateStackkeyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.

User Comments
Expander triangle
User thumbnail
Mark Wieder
StarStarStarStarStar
May 9, 2009
Note that the IDE preferences for properties such as "destroyStack" do not affect the templateStack settings. If you want the destroyStack of a new stack created from a "create stack" command to be true then you need to "set the destroyStack of the templateStack to true" first.