This section describes the declarative syntax used by rules that define variables.<h2>Syntax</h2>
<pre>
<i>variables-rule:</i>
<i>variable-tag</i>
<i>variable-tag</i> <i>variables-rule</i>
</pre>
<h2><variable> tag</h2>
Defines a new variable. All standard variable attributes are supported (see
<q ref="core.env:KitVariables!VARIABLE_DEF">VARIABLE_DEF</q> for details).
<pre>
<i>variable-tag</i>:
<variable <i>id="" type="" dflt="" scope=""</i> />
</pre>
<h2>Example</h2>
<pre>
<extend rule="defineVariables">
<constraint>model isa gml2:Model</constraint>
<comments>Custom workspace variables</comments>
<variable id="SVG_ALPHA_MODE" type="bool" dflt="true" scope="user" />
<variable id="SVG_COLOR_NESTING" type="bool" dflt="false" scope="user" />
<variable id="SVG_DRAG_SCROLL" type="bool" dflt="true" scope="user" />
</extend>
</pre>(c) SAP AG 2003-2006. All rights reserved.