[fpc-pascal] Procedural parameters
Adriaan van Os
adriaan at adriaan.biz
Sun Dec 15 07:13:51 CET 2024
Hairy Pixels via fpc-pascal wrote:
>
> On Dec 15, 2024 at 12:21:29 PM, Adriaan van Os via fpc-pascal
> <fpc-pascal at lists.freepascal.org
> <mailto: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.
Storing function pointers on variables or record fields is a Turbo Pascal invention too.
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list