>I tried to use TxtCharIsDigit function (turns out to be a macro...) listed
>in the Reference documentation. When I pass a character through it, it
>complains that _DI is unidentified.
It's defined in CharAttr.h
// Character attribute code bits
#define _XA 0x200 // extra alphabetic
#define _XS 0x100 // extra space
#define _BB 0x80 // BEL, BS, etc.
#define _CN 0x40 // CR, FF, HT, NL, VT
#define _DI 0x20 // '0'-'9'
#define _LO 0x10 // 'a'-'z' and lowercase extended chars.
#define _PU 0x08 // punctuation
#define _SP 0x04 // space
#define _UP 0x02 // 'A'-'Z' and uppercase extended chars.
#define _XD 0x01 // '0'-'9', 'A'-'F', 'a'-'f'
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html