Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.lang.c
Subject: Re: trigraphs in X3J11
Message-ID: <4393@haddock.ISC.COM>
Date: 3 Jun 88 05:44:19 GMT
References: <1988May25.212902.1904@utzoo.uucp> <5215@ico.ISC.COM> <3655@pasteur.Berkeley.Edu> <343@pyuxf.UUCP>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 17

In article <343@pyuxf.UUCP> boby@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 ] ).

And what, pray tell, do you see on your terminal if you run the program
  #include 
  main() { printf("??(??)\n"); }

>The practice we've adopted is to code trigraphs only when declaring arrays.
>All references to these arrays in the code use ptr arithmetic.

I once wrote a program using a certain style because it happened to look
better on the one printer that was then available.  I soon regretted that
decision.

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint