$variable = . . .

This command sets the value of the user variable ‘variable_name’ to ‘value’. The value argument can be text or a numerical expression which is evaluated. The references to variables in ‘value’ are substituted with the value of the corresponding variable.

Syntax
$<variable_name> = <value>.
This table describes the exception conditions and the related error message (if applicable) during the execution of the command:
Exception condition Error message
Variable name must not be a system variable.
APACS208=Variable "${0}" is a system variable and cannot be modified.

{0} = variable name

This table lists the examples of the $variable=… command:
Requirement Syntax
Set the value of the scenario variable to the value Base
$scenario = Base;