Previous Topic: DEFINE ID—Define Options Using Existing ID Options

Next Topic: Define XID Options Using the List Command

DEFINE VAR—Define Variables Using Existing Variables

Use the following syntax to define new variables using existing variables:

DEFINE VAR newvar = expression
VAR

Requests the definition of a new variable.

newvar

Provides the name of the new variable you want to define.

expression

Assigns any arithmetic expression, the result of which is the value of the new variable. You can use the following to create the expression:

Delimit all variables, operands, and parentheses with blanks. You can use the following operators in the expression:

+ = Addition

- = Subtraction

* = Multiplication

/ = Division

! = Exponentiation

( ) = Parentheses

Examples: The DEFINE Command

The following examples show ways to enter the DEFINE command: