Sujet : Re: [OT] Pascal identifiers [digression] (was Re: Which code style do you prefer the most?)
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 02. Mar 2025, 23:49:09
Autres entêtes
Organisation : None to speak of
Message-ID : <874j0bvyje.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Gnus/5.13 (Gnus v5.13)
Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> writes:
On 02.03.2025 19:28, Scott Lurndal wrote:
[...]
"$" is a legal character in the set that can be used for Pascal identifiers
>
Hmm.. - I've never seen that before.
"$" is a legal character in the set that can be used for Pascal
identifiers *under DEC's implementation*. DEC operating systems, up to
and including [Open]VMS, use '$' in a lot of system interfaces, and
their compilers have supported '$' in identifiers to cater to that.
At least as of the 1990 ISO Pascal standard, compilers are not required
to accept '$' in identifiers. (I'm too lazy to figure out whether the
standard permits conforming compilers to do so.)
<OT>
The 1990 ISO Pascal standard, ISO 7185:1990, offers some excellent
advice:
Use this information only for good; never for evil. Do not
expose to fire. Do not operate heavy equipment after reading,
may cause drowsiness. Do not read under the influence of
alcohol (although there have been several unconfirmed reports
that alcohol actually improves the readability). The standard
is written in English . If you have trouble understanding a
particular section, read it again and again and again ... Sit
up straight. Eat your vegatables. Do not mumble.
</OT>
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */