Hairy Pixels via fpc-pascal wrote:
On Dec 15, 2024 at 1:22:25 AM, Adriaan van Os via fpc-pascal
<fpc-pascal@lists.freepascal.org
<mailto:fpc-pascal@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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal