Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Inverted-syntax/REXX/inverted-syntax.rexx
Normal file
10
Task/Inverted-syntax/REXX/inverted-syntax.rexx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*REXX program demonstrates a use of a special case of inverted syntax (via SIGNAL ON).*/
|
||||
signal on syntax
|
||||
a=7
|
||||
zz=444 / (7-a)
|
||||
return zz
|
||||
/*──────────────────────────────────────────────────────────────────────────────────────*/
|
||||
syntax: say '***error*** program is attempting to do division by zero,'
|
||||
say 'the REXX statement number is: ' sigL " and the REXX source is:"
|
||||
say sourceLine(sigL)
|
||||
exit 13
|
||||
Loading…
Add table
Add a link
Reference in a new issue