[fpc-pascal] Dynamic Arrays in Procedures

James Richters james at productionautomation.net
Sun Oct 4 23:44:45 CEST 2020


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



More information about the fpc-pascal mailing list