A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
14
Task/Inverted-syntax/REXX/inverted-syntax.rexx
Normal file
14
Task/Inverted-syntax/REXX/inverted-syntax.rexx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
SIGNAL {ON|OFF} someCondition {name}
|
||||
|
||||
/*here is an example of a special case (for SYNTAX). */
|
||||
signal on syntax
|
||||
a=7
|
||||
zz=444/(7-a)
|
||||
return zz
|
||||
|
||||
syntax: say '***error***!'
|
||||
say 'program is attempting to do division by zero.'
|
||||
say 'REXX statement number is:' sigL
|
||||
say 'the Rexx source statement is:'
|
||||
say sourceLine(sigL)
|
||||
exit 13
|
||||
Loading…
Add table
Add a link
Reference in a new issue