[fpc-pascal] Procedural parameters

Adriaan van Os adriaan at adriaan.biz
Sun Dec 15 06:21:29 CET 2024


Hairy Pixels via fpc-pascal wrote:
> 
> On Dec 15, 2024 at 1:22:25 AM, Adriaan van Os via fpc-pascal 
> <fpc-pascal at lists.freepascal.org 
> <mailto:fpc-pascal at lists.freepascal.org>> wrote:
>> Similarly, you also cannot write:
>> function A(B : (one,two,three)) : double;
>>
>> Not really. The function type declaration is a Borland invention, not 
>> original Pascal.
>>
>> Regards,
>>
>> Adriaan van Os 
> 
> 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.

Regards,

Adriaan van Os



More information about the fpc-pascal mailing list