Nautical bell: Difference between revisions

m
→‎{{header|REXX}}: added section header comments. -- ~~~~
m (added the REXX language. -- ~~~~)
m (→‎{{header|REXX}}: added section header comments. -- ~~~~)
Line 10:
 
=={{header|REXX}}==
The local time is used instead of Grenwich mean time.
<br><br>If any arguments are specified, this causes the REXX program to use that text to prefix the time shown.
<br>Also, the number of bells sounded are shown (if any arguments are specified).
<br>In all cases, the PC speaker is used to sound the bells (albeit a poorly sounded bell).
<lang rexx>/*REXX pgm sounds "bells" (using PC speaker) when running (perpetually).*/
echo= arg()\==0 /*echo time & bells if any args. */