start using

Places a stack into the message path.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

start using stack

# Params

- stack : Any stack reference.

# Examples

start using stack "mylibrary"

# Description

Use the start using command to use a stack script as a library for frequently-used handlers.

The start using command places a stack script into the message path after the current stack and before any objects in the backScripts.

When you start using a stack, the libraryStack message is sent to the stack.

When a standalone application is running, it can insert up to fifty stacks into the stacksInUse. This limit is set by line 3 of the scriptLimits function. When using the development environment, you can insert any number of stacks into the message path.

# Tags

# See

- **property:** script, stacksInUse - **message:** releaseStack, libraryStack - **library:** library - **glossary:** object, handler, current stack, message, command, development environment, message path - **control structure:** function - **function:** scriptLimits, backScripts, stacks - **command:** call, stop using, insert script - **object:** stack