Non-decimal radices/Output: Difference between revisions
Content added Content deleted
m (→{{header|PureBasic}}: markup) |
m (→[[Non-decimal radices/Output#ALGOL 68]]: fix pre tag) |
||
Line 57: | Line 57: | ||
{{trans|C}} |
{{trans|C}} |
||
{{works with|ALGOL 68| |
{{works with|ALGOL 68|Revision 1 - no extensions to language used}} |
||
{{works with|ALGOL 68G|Any - tested with release mk15-0.8b.fc9.i386}} |
|||
{{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}} |
|||
{{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d] - printf has been removed}} |
|||
<lang algol68>main:( |
<lang algol68>main:( |
||
FOR i TO 33 DO |
FOR i TO 33 DO |
||
Line 66: | Line 67: | ||
)</lang> |
)</lang> |
||
Sample output: |
Sample output: |
||
<pre> |
|||
000001 000001 000001 |
|||
000002 000002 000002 |
000002 000002 000002 |
||
000003 000003 000003 |
000003 000003 000003 |
||
Line 98: | Line 100: | ||
000031 00001f 000037 |
000031 00001f 000037 |
||
000032 000020 000040 |
000032 000020 000040 |
||
000033 000021 000041 |
000033 000021 000041 |
||
</pre> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
contributed by Laszlo on the ahk [http://www.autohotkey.com/forum/post-276235.html#276235 forum] |
contributed by Laszlo on the ahk [http://www.autohotkey.com/forum/post-276235.html#276235 forum] |