Spinning rod animation/Text: Difference between revisions
Content added Content deleted
(Added BaCon version.) |
m (→{{header|REXX}}: added a programming note; commented that this REXX program also works with Regina REXX.) |
||
Line 1,079: | Line 1,079: | ||
This REXX version will work for: |
This REXX version will work for: |
||
::* |
::* Personal REXX |
||
::* PC REXX |
::* PC REXX |
||
::* Regina REXX (see the programming note below.) |
|||
<lang rexx>/*REXX program displays a "spinning rod" (AKA: trobbers or progress indicators). */ |
<lang rexx>/*REXX program displays a "spinning rod" (AKA: trobbers or progress indicators). */ |
||
if 4=='f4'x then bs= "16"x /*EBCDIC? Then use this backspace chr.*/ |
if 4=='f4'x then bs= "16"x /*EBCDIC? Then use this backspace chr.*/ |
||
Line 1,091: | Line 1,092: | ||
end /*j*/ |
end /*j*/ |
||
halt: say bs ' ' /*stick a fork in it, we're all done. */</lang> |
halt: say bs ' ' /*stick a fork in it, we're all done. */</lang> |
||
Programming note: this REXX program makes use of '''DELAY''' BIF which delays (sleeps) for a specified amount of seconds. |
|||
<br>Some REXXes don't have a '''DELAY''' BIF, so one is included here ──► [[DELAY.REX]]. |
|||
=={{header|Ring}}== |
=={{header|Ring}}== |