Re: Procedural parameters
Adriaan van Os via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
Hairy Pixels via fpc-pascal wrote: > > On Dec 15, 2024 at 1:22:25 AM, Adriaan van Os via fpc-pascal > <[email protected] > <mailto:[email protected]>> 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 - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal