Category:ALGOL 68: Difference between revisions

Line 91:
===Example of different program representations===
At the time when ALGOL 68 was defined some predominant computers had
24 or 36 bit words, andwith 6 bit character sets. Hence it was desirable that
ALGOL 68 should be able to run on machines with only uppercase. Hence
the official spec provided for different representations of the same
program. UpperQuote stropping (representingenclosing the bold words byin uppersingle case andquotes)
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
3,048

edits