## Using Variables with Expressions

Variables are objects that hold values. Variables refer to integer, real, string, or point operands. Variables are essential to using expressions. A variable has a name and a value. The name is used to access the value of the variable. The name is constant, the value can be changed. You assign a value to a variable by using the ASSIGN/ command.

For example, the statement ASSIGN/V1 = 2 creates a variable with a name of V1 and a value of 2. ASSIGN/V2 = V1 + 2 accesses the value of V1. If V1 still had a value of 2 when this assign statement was executed, V2 would then have a value of 4.

For more information on variables, see "Variables".

More:

Assigning Values to Variables by Using the Assignment Dialog Box