typescript | KDF9 Algol | official Algol60 | |
---|---|---|---|
'begin' etc | begin | begin | |
>= | ≥ | ≥ | |
<= | ≤ | ≤ | |
!= | ≠ | ≠ | |
% | ÷ | ÷ | integer divide |
* | × | × | multiply |
_ | underline for space in a string (i.e. a * in KDF9 paper tape code) | ||
| | for end message (vertical bar) | ||
{} | curly brackets for underlined square ones (Algol60 string quotes). |
You will get a page showing your program as it would have looked on a KDF9 Flexowriter, which has a link at the top to show the output, which will look like:'begin' writetext(30, {Hello {s} World!}); 'end' @
It took a while to find out how to do the space, and where did the exclamation mark go? It is not an Algol Basic Symbol, and all such symbols get printed as asterisk. It is all in upper case because KDF9 printers did not do lowercase - nor exclamation marks.RAN/EL/000M01S/000M01S SIZE 11 HELLO WORLD* RAN/EL/000M00S/000M01S