*ELSEIF, VAL1
, Oper1
, VAL2
, Conj
, VAL3
, Oper2
, VAL4
Separates an intermediate if-then-else block.
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:
Equal (for VAL1
= VAL2
).
Not equal (for VAL1
≠VAL2
).
Less than (for VAL1
<VAL2
).
Greater than (for VAL1
>VAL2
).
Less than or equal (for VAL1
VAL2
).
Greater than or equal (for VAL1
VAL2
).
Absolute values of VAL1
and VAL2
before
< operation.
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.
True if both clauses (Oper1
and Oper2
)
are true.
True if either clause is true.
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).
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.