Non-decimal radices/Convert: Difference between revisions
→{{header|Quackery}}: rewrote to match task requirements
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(→{{header|Quackery}}: rewrote to match task requirements) |
||
Line 3,054:
=={{header|Quackery}}==
Handles radices in the range 2 to 36.
<syntaxhighlight lang="
drop▼
[ base put ▼
number$
base release
$
witheach
[ lower join ] ]
{{out}}
As a dialogue in the quackery shell.
<pre>/O> $ "sesquipedalian" 36 string_to_base
...
Stack: 4846409295160778886623
/O> 36 base_to_string echo$ cr
...
sesquipedalian
Stack empty.
</pre>
=={{header|R}}==
|