<?xml version="1.0" encoding="Windows-1255" ?><Topic name="VariableRulesSyntax" title="Variables syntax" id="core.gml2:VariableRulesSyntax" sort="28" urn="core.gml2:rules.syntax.VariableRulesSyntax.txt" toc="\Rules\Syntax"><Summary>This section describes the declarative syntax used by rules that define variables.</Summary><Remarks>&lt;h2&gt;Syntax&lt;/h2&gt;
&lt;pre&gt;
&lt;i&gt;variables-rule:&lt;/i&gt;
   &lt;i&gt;variable-tag&lt;/i&gt;
   &lt;i&gt;variable-tag&lt;/i&gt; &lt;i&gt;variables-rule&lt;/i&gt;
&lt;/pre&gt;

&lt;h2&gt;&amp;lt;variable&amp;gt; tag&lt;/h2&gt;
Defines a new variable. All standard variable attributes are supported (see
&lt;q ref=&quot;core.env:KitVariables!VARIABLE_DEF&quot;&gt;VARIABLE_DEF&lt;/q&gt; for details). 
&lt;pre&gt;
&lt;i&gt;variable-tag&lt;/i&gt;:

   &amp;lt;variable &lt;i&gt;id=&quot;&quot; type=&quot;&quot; dflt=&quot;&quot; scope=&quot;&quot;&lt;/i&gt; /&amp;gt;

&lt;/pre&gt;

&lt;h2&gt;Example&lt;/h2&gt;
&lt;pre&gt;
&amp;lt;extend rule=&quot;defineVariables&quot;&amp;gt;
   &amp;lt;constraint&amp;gt;model isa gml2:Model&amp;lt;/constraint&amp;gt;
   &amp;lt;comments&amp;gt;Custom workspace variables&amp;lt;/comments&amp;gt;

   &amp;lt;variable id=&quot;SVG_ALPHA_MODE&quot; type=&quot;bool&quot; dflt=&quot;true&quot; scope=&quot;user&quot; /&amp;gt;
   &amp;lt;variable id=&quot;SVG_COLOR_NESTING&quot; type=&quot;bool&quot; dflt=&quot;false&quot; scope=&quot;user&quot; /&amp;gt;
   &amp;lt;variable id=&quot;SVG_DRAG_SCROLL&quot; type=&quot;bool&quot; dflt=&quot;true&quot; scope=&quot;user&quot; /&amp;gt;
&amp;lt;/extend&amp;gt;
&lt;/pre&gt;</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Topic>