CONDITION Function -- Syntax and Examples

CONDITION([option])

condition("C")

returns the name of the trapped error condition, for example "FAILURE"

condition("I")

returns the keyword (either "CALL" or "SIGNAL") for the instruction processed when the condition was trapped

CondStat = condition("S")

assigns the status of the current trapped condition (may be "ON", "OFF" or "DELAY") to the variable CondStat

Next