Zum Hauptinhalt springen

Set variable to TRUE

XML
<true var="var" key="(no key)"/>

<true /> sets the value of a variable to <true />.

These three statements are semantically equivalent:

XML
<true var="var[key]"/>
<true var="var.key"/>
<true var="var" key="key"/>

Attributes

NameTypeDescriptionDefined By
varvarVariable name true
keystringKey true

Results

BindingTypePredicate
varboolN/A

Examples

Setting variable to TRUE

XML
<true var="var"/>

Setting array item implicitly to TRUE

XML
<true var="var[key]"/>

Setting array item explicitly to TRUE

XML
<true var="var" key="key"/>