[fpc-pascal] Procedural parameters

Hairy Pixels genericptr at gmail.com
Sun Dec 15 07:01:06 CET 2024


 On Dec 15, 2024 at 12:21:29 PM, Adriaan van Os via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:

> You mean the original pascal only allowed function declarations to be
> parameter types?
>
> Yes. And it is still true in the ISO 7185 Pascal standard.
>

That doesn’t make any more sense than only allowing them as type
declarations. I guess you couldn’t stored function pointers on variables or
record fields then? Seems strange they would not support that.

Regards,
    Ryan Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20241214/bae34b43/attachment.htm>


More information about the fpc-pascal mailing list