Count in octal: Difference between revisions

(→‎Joy: add)
Line 3,058:
return output
</syntaxhighlight>
 
=={{header|RPL}}==
This will run an octal counter at the top of the screen from 1 to n, n being entered as an argument.
≪ OCT CLLCD
1 SWAP '''FOR''' j
j R→B 1 DISP 0.2 WAIT '''NEXT'''
CLMF
≫ 'CLOCT' STO
 
=={{header|Ruby}}==
1,151

edits