Re: [fpc-pascal] char in [range]

2009-12-08 Thread Frank Peelo
On 07/12/2009 19:41, ik wrote: http://ik.homelinux.org/ On Mon, Dec 7, 2009 at 4:43 PM, Jonas Maebe > wrote: On 07 Dec 2009, at 15:19, Frank Peelo wrote: On 07/12/2009 13:40, ik wrote: Now it works properly. However it seems like t

Re: [fpc-pascal] char in [range]

2009-12-07 Thread Vincent Snijders
ik schreef: Yes :) OT: My native language is non latin based, and you write what you hear (unlike latin based languages). Reading http://en.wikipedia.org/wiki/Orthographic_depth, I would expect that in Hebrew, one cannot just write what one hears, unlike some (but not all) Latin based lan

Re: [fpc-pascal] char in [range]

2009-12-07 Thread ik
http://ik.homelinux.org/ On Mon, Dec 7, 2009 at 4:43 PM, Jonas Maebe wrote: > > On 07 Dec 2009, at 15:19, Frank Peelo wrote: > > On 07/12/2009 13:40, ik wrote: >> >>> Now it works properly. However it seems like the not is for the "in" >>> rather then the key if it inside the pertness. >>> >> >

Re: [fpc-pascal] char in [range]

2009-12-07 Thread Jonas Maebe
On 07 Dec 2009, at 15:19, Frank Peelo wrote: On 07/12/2009 13:40, ik wrote: Now it works properly. However it seems like the not is for the "in" rather then the key if it inside the pertness. "pertness"? I would love to know what that was before babelfish got it... I put my money on an

Re: [fpc-pascal] char in [range]

2009-12-07 Thread Frank Peelo
On 07/12/2009 13:40, ik wrote: You are right, my bad. I wrote it if (not Key in ['a'..'z']) then Rather then if not (Key in ['a'..'z') then In lazarus under OnKeyPress. Now it works properly. However it seems like the not is for the "in" rather then the key if it inside the pertness. "pert

Re: [fpc-pascal] char in [range]

2009-12-07 Thread ik
You are right, my bad. I wrote it if (not Key in ['a'..'z']) then Rather then if not (Key in ['a'..'z') then In lazarus under OnKeyPress. Now it works properly. However it seems like the not is for the "in" rather then the key if it inside the pertness. Ido http://ik.homelinux.org/ On Mon,

Re: [fpc-pascal] char in [range]

2009-12-07 Thread Jonas Maebe
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

[fpc-pascal] char in [range]

2009-12-07 Thread ik
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/ ___ fp