*variableset()

Sets a variable to a specific value.

Syntax

*variableset (variable, value)

Type

HyperMesh Template Command

Inputs

variable
A value from variable1 to variable20 indicating which of the 20 possible variables should be set to the next parameter.
value
The value of the variable.

Example

Variables can be used to hold real or integer values. For example, to add the value of variable5 to the current value of variable1, the following command could be used:

*variableset(variable1,[variable1+variable5])