Category:ALGOL 68: Difference between revisions
→Example of different program representations
m (→Example of different program representations: Added Upper stropping) |
|||
Line 91:
===Example of different program representations===
At the time when ALGOL 68 was defined some predominant computers had
24 or 36 bit words,
ALGOL 68 should be able to run on machines with only uppercase. Hence
the official spec provided for different representations of the same
program.
and Point stropping (preceeding the bold words with a dot)
were used. A pragmatic comment may have been required to indicate which
stropping convention was to be used, as in some of the examples below.
Upper stropping (representing the bold words by upper case and
non-bold words in lower case) was introduced by Algol 68R. Upper stropping
is used by Algol 68RS and is one of the options for Algol 68G. Most of the samples
|