[fpc-pascal] char in [range]

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Dec 7 14:07:30 CET 2009


On 07 Dec 2009, at 14:01, ik wrote:

> 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 ?

You made a mistake somewhere. *Always* post a source snippet that  
should be compilable when asking about compilation problems.


Jonas



More information about the fpc-pascal mailing list