Anonymous user
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: the '''!<small>xxx</small>''' subroutines (above) deal mostly with determining what version of REXX is being invoked and what operating system is being used; and based on that information, appropriate flags (variables) are set. 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: The subroutine '''$ERR''' isn't included here; so here is the gist of the error messages:
::* '''er 59''' too many arguments specified for the ─── DELAY ─── command.
::* '''er 53''' argument ─── xxx ─── isn't numeric for the option ─── delay-seconds ─── for the ─── DELAY ─── command.
|