*ELSEIF
*ELSEIF, VAL1
, Oper1
, VAL2
, Conj
, VAL3
, Oper2
, VAL4
Separates an intermediate if-then-else block.
Argument Descriptions
-
VAL1
First numerical value (or parameter which evaluates to numerical value) in the conditional comparison operation.
VAL1
,VAL2
,VAL3
, andVAL4
can also be character strings (enclosed in quotes) or parameters forOper
= 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
andVAL2
before < operation.- ABGT --
Absolute values of
VAL1
andVAL2
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
andOper2
) 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 usesVal3
andVal4
. 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.