On 25 Oct 2010, at 13:24, David W Noon wrote:

Try declaring
  i : 1..3;
instead, as that range matches the array's bounds. You should then get
a range check at compile time.

With current released versions, you won't get such a compile time error. I fixed that just yesterday in svn though (r16213).


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

Reply via email to