RosettaCodeData/Task/Flow-control-structures/Icon/flow-control-structures-4.icon
2023-07-01 13:44:08 -04:00

8 lines
259 B
Text

&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
}