On Mon, Nov 3, 2014 at 2:08 PM, Charles Mills <[email protected]> wrote:
> Would not apply to a #define, right? A #define has no real existence. > #define A "foo" simply means "every time you encounter the token A, > substitute "foo" instead. > > So the operative syntax would be > > #define A "foo" > ... > #pragma convert(codepage) > char bar[] A; > #pragma convert(pop) > > Right? > > Charles > I would hope so. That way, I could (if needed) do: #define MAGIC_VALUE "SomeWeirdEyeCatcher" #pragma convert(1209) // UTF-8 const char[] UTF_magic=MAGIC_VALUE; #pragma convert(037) // CP-037 const char[] CP037_magic=MAGIC_VALUE; #pragma conver(base) -- The temperature of the aqueous content of an unremittingly ogled culinary vessel will not achieve 100 degrees on the Celsius scale. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
