Nautical bell: Difference between revisions

Content added Content deleted
m (comma in wrong place)
m (→‎{{header|REXX}}: more whitespace)
Line 68: Line 68:
If any arguments are specified, that text is used as a prefix to the times shown (once a minute).
If any arguments are specified, that text is used as a prefix to the times shown (once a minute).
Also, the number of bells sounded are shown (if any arguments are specified).
Also, the number of bells sounded are shown (if any arguments are specified).
If   no arguments are specified, no times are shown.
If no arguments are specified, no times are shown.
In all cases, the PC speaker is used to sound the bells   (albeit a poorly sounded bell).
In all cases, the PC speaker is used to sound the bells (albeit a poorly sounded bell).


This REXX program makes use of <code>DELAY</code> BIF, which delays (sleeps) for a specified amount of seconds (some REXXes doen't have a <code>DELAY</code> BIF, so one is included [[DELAY.REX|here]]), and <code>SOUND</code> BIF, which produces sounds via the PC speaker (some REXXes doen't have a <code>SOUND</code> BIF, so one is included [[SOUND.REX|here]]).
This REXX program makes use of <code>DELAY</code> BIF, which delays (sleeps) for a specified amount of seconds (some REXXes doen't have a <code>DELAY</code> BIF, so one is included [[DELAY.REX|here]]), and <code>SOUND</code> BIF, which produces sounds via the PC speaker (some REXXes doen't have a <code>SOUND</code> BIF, so one is included [[SOUND.REX|here]]).