Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-02

length function issue

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rimgaudas Laucius

Hello,

TP and Delphi length function supports arrays as parameters and FPC do not. I think this is uncompatibility. What can you say about this issue?

var
  a: array [1..10]of integer;
begin
  WriteLn(length(a));
  Readln;
end.

Reply by email

Peter Vreman
to Rimgaudas Laucius
Show quoted text 13 lines
Hello, TP and Delphi length function supports arrays as parameters and FPC do not. I think this is uncompatibility. What can you say about this issue? var a: array [1..10]of integer; begin WriteLn(length(a)); Readln; end.

It is supported by 1.9.x

Reply by email