RosettaCodeData/Task/Flow-control-structures/Icon/flow-control-structures-4.icon

9 lines
259 B
Plaintext

&error := 1
mayErrorOut()
if &error == 1 then
&error := 0 # clear the trap
else {
# deal with the fault
handleError(&errornumber, &errortext, &errorvalue) # keyword values containing facts about the failure
}