Count in octal: Difference between revisions

Content deleted Content added
Markjreed (talk | contribs)
→‎{{header|Logo}}: func name typo
Markjreed (talk | contribs)
Line 345: Line 345:


=={{header|Logo}}==
=={{header|Logo}}==
No built-in octal-formatting, so it's probably more efficient to just manually increment a string than to increment a number and then convert the whole thing to octal every time we print.
No built-in octal-formatting, so it's probably more efficient to just manually increment a string than to increment a number and then convert the whole thing to octal every time we print. This also lets us keep counting as long as we have room for the string.


<lang logo>to increment_octal :number
<lang logo>to increment_octal :number