Sets the variable to the left of the "=" to the value of the expression on the right.


set variable = expression


The variable on the left of the "=" can be either an integer defined in the global section of the template or a predefined variable, such as numrecords, numrequests, or numcomponents.

The expression on the right can consist of an integer constant, variable, or function call, such as count, ccount, or sum.

The "=" operator can only be used as part of the set statement.


set a = 11
set numrequests = 5
set numcomponents = sum(a, 2)