[fpc-pascal] open arrays as parameters (why packed not allowed)?

Bruce Bauman bruce.bauman at andesaservices.com
Fri Oct 16 14:43:58 CEST 2009


 

Great, although ignoring the "packed" would be very useful as we are mechanically translating a large body of code.
 
-- Bruce
 
________________________________

From: fpc-pascal-bounces at lists.freepascal.org on behalf of Jonas Maebe
Sent: Fri 10/16/2009 4:50 AM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] open arrays as parameters (why packed not allowed)?




On 16 Oct 2009, at 10:43, Jürgen Hestermann wrote:

>> Sorry, I misread the mail, I thought it was about bitpacked arrays. 
>> Plain "packed" arrays are no different from regular arrays in FPC 
>> (we basically ignore that modifier, except in MacPas mode where 
>> it's an alias for bitpacked), so the "packed" monicker can simply 
>> be left out when declaring the open array parameter.
>
> Then it could also be allowed (and ignored)?

Yes, but he doesn't have to wait for this to be implemented in the 
compiler.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed.  If
you are not the intended recipient, be advised that you have received 
this email in error and that any use, dissemination, forwarding, printing 
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.




More information about the fpc-pascal mailing list