Main About Download Schemes Documentation Resources

Variable Access


This section is used to get the proper syntax when a variable is being accessed in an expression.

Java Example
[Variable Access]
Precedence = 100
Text = {name} | ~subscript
= {name}[{subscript}] | subscript


This key defines the precedence of the variable access. Normally, this should be set to the maximum value used in the template's expressions.

Text Key

The text key is used to generate the syntax for a variable access.

Fields Contents
{name} The name of the varaible
{subscript} The subscript (index) if an array element is being accessed.

The first and last flags can be used if the syntax differs for the first or last statement in the block.

Flags When True
subscript A subscript (index) is being used with the variable.