On Wed, 8 Aug 2018 11:08:36 -0700, Charles Mills wrote:
>Yes, ??= is the trigraph for #. Talk about hash!
>
>Trigraphs go away in C++17.
>
Strongly opposed by IBM.
Replaced in string literals. But according to what CCSID? I'm trying not to
envision the anguish of the compiler writer confronting something as basic as:
printf( "??( ??/??/ ??)??/n" );
The ISPF Edit Macro Ref. states that metacharacters in regular expressions
are interpreted in the code page of the logged-in terminal. It lists a
couple dozen that are supported. A challenge to the author of purportedly
portable macros.
What if batch; no attached terminal? A cursory experiment indicates
compatible with 1047. Maybe. Not documented. To make Edit macros
portable, they'd need to provide a PRAGMA CCSID.
I hate EBCDIC!
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN