how about adding the include <CharAttr.h>
-----Original Message-----
From: Tim Astle <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Friday, April 28, 2000 8:41 AM
Subject: TxtCharIsDigit(ch) Flawed?
>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.
>
>They're right too... as far as I can tell. I viewed the TextMgr.h file and
>this is what it shows.
>
>/*stuff removed for clairity */
>#define charAttrPrint (_DI|_LO|_PU|_SP|_UP|_XA)
>#define charAttrAlNum (_DI|_LO|_UP|_XA)
>#define charAttrGraph (_DI|_LO|_PU|_UP|_XA)
>
>#define TxtCharIsDigit(ch) ((TxtCharAttr(ch) & _DI) != 0)
>
>UInt16 TxtCharAttr(WChar inChar)
> INTL_TRAP(intlTxtCharAttr);
>
>
>Has anyone else ran into this problem? I'm at a loss....
>
>--
>
>Tim Astle
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html