Count in octal: Difference between revisions
Content added Content deleted
(→LOLCODE: Add implementation) |
|||
Line 998:
<lang runbasic>input "Begin number:";b
input " End number:";e
for i = b to e
print i;" ";toBase$(8,i)
next i
end
function toBase$(base,base10)
for i = 10 to 1 step -1
toBase$
base10
if base10 < 1 then exit for
next i
|