[fpc-pascal] Length bug ?

Michael Van Canneyt michael at freepascal.org
Mon Oct 11 16:02:15 CEST 2010



Confirmed on linux.

Please enter a bug report for this.

Michael.

On Mon, 11 Oct 2010, Yann Bat wrote:

> 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
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list