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

Reply via email to