Anonymous user
Count in octal: Difference between revisions
m
→{{header|REXX}}: fixed a typo.
m (→{{header|REXX}}: added wording to the REXX section header.) |
m (→{{header|REXX}}: fixed a typo.) |
||
Line 2,011:
If this REXX program wouldn't be stopped, it would count ''forever''.
The technique used is to convert the decimal number to binary, and
<lang rexx>/*REXX program counts in octal until the number exceeds #pgm statements.*/
/*┌────────────────────────────────────────────────────────────────────┐
|