*ELSEIF

*ELSEIF, VAL1, Oper1, VAL2, Conj, VAL3, Oper2, VAL4
Separates an intermediate if-then-else block.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Argument Descriptions

VAL1

First numerical value (or parameter which evaluates to numerical value) in the conditional comparison operation. VAL1, VAL2, VAL3, and VAL4 can also be character strings (enclosed in quotes) or parameters for Oper = EQ and NE only.

Oper1

Operation label. A tolerance of 1.0E-10 is used for comparisons between real numbers:

EQ -- 

Equal (for VAL1 = VAL2).

NE -- 

Not equal (for VAL1 ≠VAL2).

LT -- 

Less than (for VAL1<VAL2).

GT -- 

Greater than (for VAL1>VAL2).

LE -- 

Less than or equal (for VAL1  VAL2).

GE -- 

Greater than or equal (for VAL1  VAL2).

ABLT -- 

Absolute values of VAL1 and VAL2 before < operation.

ABGT -- 

Absolute values of VAL1 and VAL2 before > operation.

VAL2

Second numerical value (or parameter which evaluates to numerical value) in the conditional comparison operation.

Conj

(Optional) Connection between two logical clauses.

AND -

True if both clauses (Oper1 and Oper2) are true.

OR -

True if either clause is true.

XOR -

True if either (but not both) clause is true.

VAL3

(Optional) Third numerical value (or parameter which evaluates to numerical value).

Oper2

(Optional) Operation label. This will have the same labels as Oper1, except it uses Val3 and Val4. A tolerance of 1.0E-10 is used for comparisons between real numbers.

VAL4

(Optional) Fourth numerical value (or parameter value which evaluates to a numerical value).

Notes

Optional intermediate block separator within an if-then-else construct. All seven characters of the command name (*ELSEIF) must be input. This command is similar to the *IF command except that the Base field is not used. The *IF, *ELSEIF, *ELSE, and *ENDIF commands for each if-then-else construct must all be read from the same file (or keyboard).

This command is valid in any processor.

Menu Paths

This command cannot be accessed from a menu.