I'm trying to use the snippet of code below to change a isspace c call, to
the palm TxtCharIsSpace call. When I do, I get the undefined identifier
message. I have no idea where the _CN|_SP|_XS even comes from. Any help?
Thanks
Andrew
{
static char last = ' ';
register int ch;
register char *cp = token;
register int hash = 0;
register struct tok *tp;
*cp = 0;
ch = last;
/* skip all white space */
while(isspace(ch) && ch != -1){
...
}
<SNIP>
isspace( int ch )
{
return( TxtCharIsSpace( (char)ch ) );
}
<ERROR>
Error : undefined identifier '_CN'
convert.c line 96 ((TxtCharAttr((char)ch) & (_CN|_SP|_XS)) != 0)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/