[fpc-devel] fpc_pchar_length error

Alexandrov Alexandru alexandru.alexandrov at gmail.com
Sat Dec 10 16:39:19 CET 2005


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?

Alex



More information about the fpc-devel mailing list