<doc>
	<legacy_id>1666</legacy_id>
	<name>start using</name>
	<type>command</type>

	<syntax>
		<example>start using <i>stack</i></example>
	</syntax>

	<synonyms>
		<synonym>library</synonym>
	</synonyms>

	<summary>Places a <object tag="stack">stack</object> into the <glossary tag="message path">message path</glossary>.</summary>

	<examples>
<example>start using stack "mylibrary"</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Objects &amp; Messages</category>
		<category>Standalone Applications</category>
	</classification>

	<references>
		<function tag="scriptLimits">scriptLimits Function</function>
		<command tag="call">call Command</command>
		<command tag="stop using">stop using Command</command>
		<command tag="insert script">insert script Command</command>
		<property tag="stacksInUse">stacksInUse Property</property>
		<message tag="releaseStack">releaseStack Message</message>
		<message tag="libraryStack">libraryStack Message</message>
	</references>

	<description>Use the <b>start using</b> <glossary tag="command">command</glossary> to use a <glossary tag="stack">stack's</glossary> <property tag="script">script</property> as a <command tag="start using">library</command> for frequently-used <glossary tag="handler">handlers</glossary>.<p></p><p><b>Parameters:</b></p><p>The <i>stack</i> is any stack reference.</p><p></p><p><b>Comments:</b></p><p>The <b>start using</b> <glossary tag="command">command</glossary> places a <glossary tag="stack">stack's</glossary> <property tag="script">script</property> into the <glossary tag="message path">message path</glossary> after the <glossary tag="current stack">current stack</glossary> and before any <glossary tag="object">objects</glossary> in the <function tag="backScripts">backScripts</function>.</p><p></p><p>When you start using a stack, the <b>libraryStack</b> <keyword tag="message box">message</keyword> is sent to the <object tag="stack">stack</object>.</p><p></p><p>When a standalone application is running, it can insert up to fifty stacks into the <b>stacksInUse</b>. This limit is set by line 3 of the <function tag="scriptLimits">scriptLimits</function> <control_st tag="function">function</control_st>. When using the <glossary tag="development environment">development environment</glossary>, you can insert any number of <function tag="stacks">stacks</function> into the <glossary tag="message path">message path</glossary>.</p></description>
</doc>