This format of the @IF statement can be used in EDT procedures or in L mode to query the operating mode that is currently set (see section “Introduction to the EDT operating modes”). Depending on the result, a specified string either is or is not processed as input.
Operation | Operands | L mode |
@IF | OPERATING-MODE = { U NICODE | C OMPATIBLE } : [text] |
OPERATING-MODE= | |
The EDT operating mode is checked. | |
UNICODE | The condition is fulfilled if EDT is in Unicode mode. |
COMPATIBLE | |
The condition is fulfilled if EDT is in compatibility mode. | |
text | EDT statement or data line. If the condition is fulfilled, the string is treated The If |