Count in octal: Difference between revisions
Content added Content deleted
imported>Thebeez |
Langurmonkey (talk | contribs) |
||
Line 2,052: | Line 2,052: | ||
=={{header|langur}}== |
=={{header|langur}}== |
||
We |
We use an arbitrary limit for this. |
||
We use the :8x interpolation modifier to create a string in base 8 (may use base 2 to 36). |
We use the :8x interpolation modifier to create a string in base 8 (may use base 2 to 36). |
||
Line 2,058: | Line 2,058: | ||
<syntaxhighlight lang="langur">val .limit = 70000 |
<syntaxhighlight lang="langur">val .limit = 70000 |
||
for .i |
for .i of .limit { |
||
writeln $"10x\.i; == 8x\.i:8x;" |
writeln $"10x\.i; == 8x\.i:8x;" |
||
}</syntaxhighlight> |
}</syntaxhighlight> |