Variable declarations
Variables must be declared once and can be used in structure conditions and structure actions.
Each declaration consists of a unique name, type, and initialization value. The type must be one of the following supported primitive types:
- boolean
- int8, int16, int32, int64
- uint8, uint16, uint32, uint64
- float32, float64
- rstring
- blob
The following example shows valid variable declarations:
<variable name="version" type="uint16" value="99"/>
<variable name="kind" type="uint16" value="0"/>