Make your own free website on Tripod.com
3.2.17. CONDITION([option])

Returns information about the current trapped condition. A
condition becomes the current trapped condition when a condition
handler is called (by CALL or SIGNAL) to handle the condition.
The parameter option specifies what sort of information to return:

[C]
     (Condition) The name of the current trapped condition is
     return, this will be one of the condition named legal to
     SIGNAL ON, like SYNTAX, HALT, NOVALUE, NOTREADY, ERROR or
     FAILURE.

[D]
     (Description) A text describing the reason for the condition.
     What to put into this variable is implementation and system
     dependent.

[I]
     (Instruction) Returns either CALL or SIGNAL, depending on
     which method was current when the condition was trapped.

[S]
     (State) The current state of the current trapped condition.
     This can be one of ON, OFF or DELAY. Note that this option
     reflect the current state, which may change, not the state at
     the time when the condition was trapped.

For more information on conditions, consult the chapter
Conditions. Note that condition may in several ways be dependent
on the implementation and system, so read system and
implementation dependent information too.



PREV NEXT