[fpc-pascal] Length bug ?

Yann Bat batyann811 at gmail.com
Mon Oct 11 15:49:21 CEST 2010


Hi,

I think I have found a bug in FPC 2.4.0. Tested under Windows XP 32
bits and Linux 32 bits.

program TestLength;
begin
  WriteLn('L =', Length('') );
end.

This program gives L = 1 but I think it should give L = 0.

Is this really a bug ? Can you reproduce this ?

Thanks



More information about the fpc-pascal mailing list