DELAY.REX: Difference between revisions

m
→‎{{header|REXX}}: added/changed verbiage in some notes.
(→‎{{header|REXX}}: delay time for Regina now supports fractional seconds.)
m (→‎{{header|REXX}}: added/changed verbiage in some notes.)
Line 85:
syntax: !sigl=sigl; call er 13, !fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)</lang>
 
Coding note: &nbsp; the &nbsp; '''!<small>xxx</small>''' &nbsp; subroutines (above) deal mostly with determining what version of REXX is being invoked and what operating system is being used; &nbsp; and based on that information, appropriate flags (variables) are set. &nbsp; This is an example of a robust boilerplate code checking for various versions of REXX and operating systems, and it also defines additional flags not used within this particular program.
 
Programming note: &nbsp; The subroutine &nbsp; '''$ERR''' &nbsp; isn't included here; so here is the gist of the error messages:
::* &nbsp; '''er 59''' &nbsp; &nbsp; &nbsp; too many arguments specified for the ─── DELAY ─── command.
::* &nbsp; '''er 53''' &nbsp; &nbsp; &nbsp; argument ─── xxx ─── isn't numeric for the option ─── delay-seconds ─── for the ─── DELAY ─── command.