Since in multi-byte environments nothing seems to be trivial, let me ask this.

If we have a pointer myStrP to [perhaps multi-byte] string such as

Char * myStrP;
Char * chP;
WChar wch;
UInt16 i;

chP = myStrP + i;

Here "i" is less than the length of myStrP and points to the beginning of a
valid character.  Then *chP is chrNull if and only if we are at the end of
the string or do I still have to do a TxtGetNextChar (chP, 0, &wch) job and
then check if wch is chrNull?

Sorry, if this is obvious to you. Not to me since multi-byte stuff is very
tricky. Best regards, Paul


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to