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-boun...@lists.freepascal.org> On Behalf Of gabor 
via fpc-pascal
Sent: Sunday, October 4, 2020 4:34 PM
To: fpc-pascal@lists.freepascal.org
Cc: gabor <ga...@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@lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

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

Reply via email to