Hi list

I want to test membership of a unicode char in a set / array of unicode
chars. Something like

var ucCh: unicodechar;

if ucCh in [ UnicodeChar('0')..UnicodeChar('9')] then
    dosomething;

I am using fpc 2.6.0 and the '..' operator converts the data to a pascal
set, which is limited to 1 byte data.

Is there another way?

Thanks
Wimpie
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to