trigraphs in X3J11

Richard A. O'Keefe ok at quintus.UUCP
Fri Jun 3 17:23:02 AEST 1988


In article <343 at pyuxf.UUCP>, boby at pyuxf.UUCP (robert yaeger) writes:
> Well just to let you know, trigraphs are indeed needed in the good ol' USA.
> Try writing MVS/c programs using a 3270! Fortunately, the only trigraphs
> needed are the ??( and ??) ( ie., [ and ] ). 

The irony of this is that the manufacturer's (IBM's) character set (EBCDIC)
*does* include codes for "[" and "]", it's just that a lot of their
equipment doesn't quite support their own character set.

The pre-ANSI method used in the SAS C compiler ("(|" for "[" and
"|)" for "]") strikes me as far more readable, and neither combination
is otherwise legal C.



More information about the Comp.lang.c mailing list