Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-vax
From: info-vax@ucbvax.ARPA
Newsgroups: fa.info-vax
Subject: PL/I standard for string-constants
Message-ID: <4072@ucbvax.ARPA>
Date: Tue, 8-Jan-85 08:26:03 EST
Article-I.D.: ucbvax.4072
Posted: Tue Jan 8 08:26:03 1985
Date-Received: Wed, 9-Jan-85 03:17:22 EST
Sender: daemon@ucbvax.ARPA
Organization: University of California at Berkeley
Lines: 26
From: cugini@NBS-VMS
Regarding the PL/I standard: Page 48 of the standard contains the
following production:
CL24. ::=
'[]'
The square brackets indicate an optional list, i.e., the null
string - '' - is OK. However, just when you thought it was safe
to rely on the standard, p. 14 has under implementation-defined
features:
(9) Collating sequence, hardware representations, graphic
representations, and symbol names of an implementation's
character set (2.6 and 9.4.4.17).
Sooo... I guess that the apostrophe (not the quote) is more in the
spirit of the standard, but that technically, implementations can
bind the logical characters of the standard to any physical
character they like (all A's are B's, all B's are A's).
This is my personal opinion only, and does not have the sanction
of NBS.
John Cugini