Don Albertson wrote:

> I never try to outguess what a compiler is going to do.  I don't
> know what you're doing, but if I had an enum with that many
> different values, I'd give serious thought to using a
> native type that explicitly supports the use of  > and < type
> comparisons.

I'm just filtering input in specific fields.

chrCapital_A, chrCapital_W and so on are enums defined in Chars.h in the PalmOS 
SDK.

I use a switch statement because it is convenient and very readable. I 
sometimes enjoy a (documented) fall-through when appropriate. But you may 
indeed disagree.


Luc Le Blanc
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to