Show ASCII table: Difference between revisions
→{{header|ALGOL 68}}: Show the table vertically as with most of the other samples
(→{{header|C++}}: Removed defines) |
(→{{header|ALGOL 68}}: Show the table vertically as with most of the other samples) |
||
Line 437:
=={{header|ALGOL 68}}==
<syntaxhighlight lang="algol68">
BEGIN
# generate an ascii table for characters 32 - 127 #
FOR
print( ( whole(
, ": "
, IF
ELIF
ELSE " " + REPR
FI
)
)
OD;
print(
OD
END
{{out}}
<pre> 32: SPC
</pre>
=={{header|ALGOL W}}==
|