&IF expression &THEN
block &ELSEIF expression &THEN block &ELSE block &ENDIF |
Type of expression
|
TRUE
|
FALSE
|
LOGICAL
|
TRUE
|
FALSE
|
CHARACTER
|
non-empty
|
empty
|
INTEGER
|
non-zero
|
0
|
INT64
|
non-zero
|
0
|
DECIMAL
|
not supported
|
not supported
|
Operator
|
Description
|
+
|
Addition
|
-
|
Subtraction
|
*
|
Multiplication
|
/
|
Division
|
=
|
Equality
|
<>
|
Inequality
|
>
|
Greater than
|
<
|
Less than
|
=>
|
Greater than or equal to
|
<=
|
Less than or equal to
|
AND
|
Logical and
|
OR
|
Logical or
|
NOT
|
Logical not
|
BEGINS
|
Compares the beginning letters of two expressions
|
MATCHES
|
Compares two strings
|
ABSOLUTE
|
ASC
|
AUDIT-ENABLED
|
DATE
|
DAY
|
DBTYPE
|
DECIMAL
|
ENCODE
|
ENTRY
|
ETIME
|
EXP
|
FILL
|
INDEX
|
INT64
|
INTEGER
|
KEYWORD
|
KEYWORDALL
|
LC
|
LEFT-TRIM
|
LENGTH
|
LIBRARY
|
LOG
|
LOOKUP
|
MATCHES
|
MAXIMUM
|
MEMBER
|
MINIMUM
|
MODULO
|
MONTH
|
NUM-ENTRIES
|
OPSYS
|
PROCESS-ARCHITECTURE
|
PROPATH
|
PROVERSION
|
RANDOM
|
REPLACE
|
RIGHT-TRIM
|
R-INDEX
|
ROUND
|
SQRT
|
STRING
|
SUBSTITUTE
|
SUBSTRING
|
TIME
|
TODAY
|
TRIM
|
TRUNCATE
|
WEEKDAY
|
YEAR
|