On Sat, 31 Dec 2022 10:35:52 +0700
Hairy Pixels via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:

> 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...

Not supported. Has nothing to do with the parameter list.

> end.


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to