$ERR.REX: Difference between revisions
no edit summary
m (added whitespace, split a compound statement.) |
No edit summary |
||
Line 1:
The
<br><br>The help for the '''$ERR''' REXX program is included here ──► [[$ERR.HEL]].▼
<lang rexx>/*REXX program to display error or informational messages (in color, if supported). */▼
▲
<syntaxhighlight lang="rexx">
trace off /*turn off all REXX cmd error messages.*/
Line 494 ⟶ 497:
syitb: if left(sysy,1)==' ' then sysy=substr(sysy,2); call syit sysy; return
syline: if a5\==0 then call sy 'on line' a5 "of" ufid; _sl=g7; call syfunc; if _sl\=='' then do; call sy; call sy "REXX sourceline is:"; call sy; call sy _sl; call sy; end; if !cms then do;'EXECSTAT' a2 a3;if rc==0 then "EXECDROP" a2 a3;end;return
syntax: !sigl=sigl; call er 13,!fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)
</syntaxhighlight>
[[Category:REXX library routines]]
|