>Is there a function or macro that tests whether a value is a
>character vs. being a punctuation mark?

The text manager has macros for that; TxtCharIsAlNum() for example tells
you if something is alphanumeric, in a way that doesn't make assumptions
about the character set.

See the glue versions in TxtGlue.h, part of PalmOSGlue (in the 3.5 sdk) for
help with compatibility.  Or use the older version, IsAlNum() and friends
in TxtAttr.h, if you don't care about working on anything but one-byte
systems.

-David Fedor
Palm Developer Support


Reply via email to