Flow-control structures: Difference between revisions

m
→‎{{header|REXX}}: added a couple of notes about that some older REXXes don't support all the SIGNAL variants. -- ~~~~
m (→‎{{header|REXX}}: clarified the "leave" and "iterate" statements (where located). -- ~~~~)
m (→‎{{header|REXX}}: added a couple of notes about that some older REXXes don't support all the SIGNAL variants. -- ~~~~)
Line 1,736:
end /*k*/
say 'prod=' prod</lang>
 
===go to===
(See the '''signal''' statement.)
 
===leave===
Line 1,763 ⟶ 1,766:
 
A '''signal''' statement must have been issued previous to the event being triggered to enable trapping.
 
It should be noted that some older REXXes doen't support all the '''signal''' variants.
 
(Also, see the '''signal''' statement below.)
Line 1,898 ⟶ 1,903:
::* when a command executed returns an error return code [other than 0 (zero)].
::* when a command executed indicates a failure.
It should be noted that some older REXXes doen't support all the '''signal''' variants.
 
(Also, see '''raising conditions''' above.)