pc doesn't allow an ``others'' clause in outputs
Bill Kelly
bllklly at uwmacc.UUCP
Sat Nov 10 01:58:44 AEST 1984
In article <6141 at mcvax.UUCP> guido at mcvax.UUCP (Guido van Rossum) writes
in reference to adding an "others" clause to Pascal case statements:
>
>I hope this fix is ignored by every system administrator on the net,
>if they care at all for the languages they're supporting.
>
>Don't you dare call it Pascal any longer, my dear!
I hate to disillusion you, but by your definition, the language pc compiles
wasn't Pascal before! There are at least a dozen major deviations from
Nicklaus & Wirth spelled out in the pc manual, plus a list of non-standard
predefined functions 2 pages long. Most of the deviations don't change the
syntax of the language as the others clause does, but they sure have the
same effect on portability! I think the real question is writability.
Most compiler writers found this feature important enough to break the
standard.
Don Knuth commented on this topic. His TeX program is written in a
language preprocessed into Pascal. When asked why he didn't have his
preprocessor translate "others" into code obeying Nicklaus & Wirth, he said
"I thought it would be better to have someone fix the compilers."
Does anyone know whether the ANSI and ISO standards include an "others"?
--
Bill Kelly "Working for paper and for iron."
{allegra, ihnp4, seismo}!uwvax!uwmacc!bllklly
1210 West Dayton St/U Wisconsin Madison/Mad WI 53706
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list