Main About Download Schemes Documentation Resources

Assignment Statement


Templates use a single section to define the syntax of Assignment Statements. The syntax of the assigned expression is defined by the operator/function sections.

Java Example
Text = {Variable} = {Expression};

Text Key

The text key is used to generate the syntax of the each item in the list.

Fields Contents
{variable} Name of the variable. This defined in [Variable Access].
{name} The name of the varaible
{subscript} The subscript (index) if an array element is being accessed.
{expression} The expression. The syntax is generated by the various function/expression sections.

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

Flags When True
array The variable will be assigned to an array element.
first The statement is the first item in the block.
last The statement is the last item in the block.