| |||
| Home > CMM-style commands supported by the debugger > CMM-style commands listed in alphabetical order > var.set | |||
This command sets and displays the value of an existing script variable. It can also display the result of an expression. Script variables are for use at runtime only.
[var.set\name=]expression
Where:
nameSpecifies the name of an existing script variable.
If you specify the name of an existing script variable then you must use this command after the var.new command.
expressionSpecifies an expression that is evaluated and the
result is returned. If you specify an expression with the option
then the value of that script variable is also updated with the
result of the expression.name