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 12:21:29 PM, Adriaan van Os via fpc-pascal > <[email protected] > <mailto:[email protected]>> 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 _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal