"Scott Johnson (Bellevue)" <[EMAIL PROTECTED]> wrote:
> From: Tim [mailto:[EMAIL PROTECTED]]
>> The error message is produced whenever the following character is <= 'f'.
You would think this might have been a good clue. :-)
> 2. You can use hex by breaking up the string: "so\xF1" "ar".
[...]
> (Actually I'm not sure if #2 is the standard defined behavior [...]
It is. The escape sequence conversions happen in an earlier phase of
translation than the string concatenation. In fact, both the C and C++
standards have examples in their string literals section detailing this
approach to avoiding Tim's problem.
John "it's almost as if it was intentional that this would work... :-)"
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/