[fpc-pascal] Procedural parameters

Michael Van Canneyt michael at freepascal.org
Mon Dec 16 13:35:47 CET 2024



On Sun, 15 Dec 2024, Sven Barth via fpc-pascal wrote:

>>
>> Which I paraphrased loosely as:
>> "It's not because something is in the pascal standard, that FPC has it."
>>
>
> As with any of the language dialect compatibility modes the point is that
> FPC can compile code in that dialect, but *not* that code that compiles in
> that dialect mode in FPC does also compile in another compiler that
> supports that dialect.
>
> For example FPC allows global generic functions in mode Delphi while Delphi
> itself does not support them.

I am aware. The point of my message was not to criticize the implementation.

The point of the message was that some flexibility in judgment is needed,
and that this works in both directions: both more or less than what is in a
standard can be expected. I gave examples of both situations.

Michael.


More information about the fpc-pascal mailing list