The REXX @IF function is used to test for specific values within a REXX expression and then interpret the associated REXX expressions and return the results.
The @IF function can be used anywhere a REXX expression may be entered. REXX expressions can be used in FORM.CALC, FORM.CONDITIONS and FORM.COLUMNS (Column Definition)
.-+---+-----------------------------------. | '-,-' | V (1) (2) | >>-@IF--(----comparison_1-------,--expression_1------+----------> (3) >--,--expression_N-------)-------------------------------------><
Notes on the @IF function:
The use of multiple arguments (comparisons and expressions) passed to the @IF function will eliminate the need to nest @IF functions (nested @IF functions are not supported for expression reduction).