Execution of the REVERT statement in a given block cancels the ON-unit for the condition that executed in that block. The ON-unit that was established at the time the block was activated is then reestablished. REVERT affects only ON statements that are internal to the block in which the REVERT statement occurs and that have been executed in the same invocation of that block.
|
The REVERT statement cancels an ON-unit only if both of the following conditions are true:
If either of these two conditions is not met, the REVERT statement is treated as a null statement.