>>-CONDITION(--+--------+--)----------------------------------->< +-option-+
USER
and the user condition name, separated by a whitespace character.
CALL
or SIGNAL
, the keyword for the instruction processed when the current condition was trapped. This is the default if you omit option. If no condition has been trapped, it returns a null string.
ON
- the condition is enabled
OFF
- the condition is disabled
DELAY
- any new occurrence of the condition is delayed or ignored
Example 7.25. Builtin function CONDITION
CONDITION() -> "CALL" /* perhaps */ CONDITION("C") -> "FAILURE" CONDITION("I") -> "CALL" CONDITION("D") -> "FailureTest" CONDITION("S") -> "OFF" /* perhaps */
Note