*SetVal()
Sets the value of an MDL variable or a local variable.
Syntax
*SetVal(variable_name, variable_value)
Arguments
- variable_name
- The name of an existing MDL variable or local variable.
- variable_value
- Value to be assigned to the specified variable.
Example
*SetVal(local_var.value, 10)
*SetVal(ds.int.value, local_var+10)
Comments
In the case of an MDL variable, type checking is performed between the variable and the specified value. A mismatch results in an error.
variable_value can be an expression consisting of MDL variables, local variables, and literals. The expression is evaluated prior to being assigned.