Re: [fpc-pascal] for n:=0 to

2006-08-17 Thread Jonas Maebe
On 16 aug 2006, at 14:02, Carsten Bager wrote: I have a program like below, and if the control variable (nr) is defined as a byte/word it fails (the count goes from 1..14) But if I use an Integer as control variable it works. Is this an error in the compiler? If I use the Windows compiler (f

[fpc-pascal] for n:=0 to

2006-08-16 Thread Carsten Bager
I have a program like below, and if the control variable (nr) is defined as a byte/word it fails (the count goes from 1..14) But if I use an Integer as control variable it works. Is this an error in the compiler? If I use the Windows compiler (fpc) it works. Carsten