Why is using the open array parameter illegal using the Object type?
========================
{$mode objfpc}
program test;
type
TMyObject = object
constructor Create(text: array of String);
end;
constructor TMyObject.Create(text: array of String);
begin
end;
begin
TMyObject.Create(['1', '2', '3']); // error: Illegal expression
end.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal