On Sat, 10 Dec 2005, Alexandrov Alexandru wrote:

> The following program will rise an error:
> Adress: $00401493
> Procedure: fpc_pchar_length
> 
> 
> program project1;
> 
> {$mode objfpc}{$H+}
> 
> uses
>   Classes;
> 
> var Buffer: PChar;
> begin
>   Buffer := Nil;
>   WriteLn(Length( Buffer ));
> end.
> 
> is this a bug?

It depends on the specs of "length" :-)

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to