Quote: "are you after an Octal with base 5 as opposed to base 8"
if its a base 5 then its not Octal, it'd be... hectal?
Isn't base conversion just basically like this?
1,2,3,4, 5, 6, 7, 8, 9,10,11,12,13 - decimal
1,2,3,4,10,11,12,13,14,20,21,22,23 - base 5
This won't display binary like you'd usually see, but technically it will convert it base 10 to any base below 10
print "decimal 12 to base 5: ",baseConverter(12,5)
print "decimal 12 to base 8: ",baseConverter(12,8)
print "decimal 12 to base 3: ",baseConverter(12,3)
suspend for key
rem converts decimal base 10 to specified base.
rem base <= 10
function baseConverter(decimal as integer, base as integer)
a = int(decimal/base)
v = 10*a + (decimal mod base)
endfunction v