>From: "David Whitehurst" <[EMAIL PROTECTED]>
>Date: Sat, 19 Jan 2002 14:28:03 -0500
>X-Message-Number: 12
>
>
>Does anyone quickly know of a direct replacement function for
> GetCharAttr(); beyond 3.1 SDK?  The header CharAttr.h refers to >TextMgr.h
but this header does not exist in 3.1.  
>Anyhow, I have an old application that I am trying to get beyond a
>compilation problem, e.g. IsDigit(GetCharAttr(),c) and if
>cannot get at the function GetCharAttr, I will have to use another.
>
>Any quick answers are appreciated, however, I don't want to waste anyone's
>time with this.

Well you could try something like:
        #define IS_DIGIT(c)  ((int)c>=(int)'0' && (int)c<=(int)'9')

Roger Stringer
Marietta Systems, Inc.


-- 
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