[fpc-pascal] Dynamic Arrays in Procedures

Winfried Bartnick winni at bartnick.info
Sun Oct 4 23:59:03 CEST 2020


Am 04.10.20 um 23:44 schrieb James Richters via fpc-pascal:
> So it does...
>
> I should have tested my own example.   I found my problem, I declared it as Var and it would only work with variables due to that.
>
> -----Original Message-----
> From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of gabor via fpc-pascal
> Sent: Sunday, October 4, 2020 4:34 PM
> To: fpc-pascal at lists.freepascal.org
> Cc: gabor <gabor at poczta.onet.pl>
> Subject: Re: [fpc-pascal] Dynamic Arrays in Procedures
>
> W dniu 2020-10-04 o 21:58, James Richters via fpc-pascal pisze:
>> DoSomethingElse([$12,$1A,$2B]);for example… of course this doesn’t
>> work, but is there a syntax that would work?
> This expression works fine with FPC 3.2.0 _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
Hi!

Works also  fine with fpc  3.04

Winni




More information about the fpc-pascal mailing list