[fpc-pascal] char in [range]

ik idokan at gmail.com
Mon Dec 7 14:01:36 CET 2009


Hello,

I'm using FPC 2.5.1 and I'm trying to do the following:

if not (Char in ['a'..'z'])

however fpc gives me an error of type mismatch for the "in" directive. Why
can't I use the in directive on a char ?

Thanks,
Ido

http://ik.homelinux.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091207/f836d621/attachment.html>


More information about the fpc-pascal mailing list