[fpc-pascal] Mode Delphi and functions as parameters.
Michael Schnell
mschnell at lumino.de
Fri Mar 20 10:55:50 CET 2015
On 03/18/2015 03:49 PM, vfclists . wrote:
>
>
> Is passing a function as parameter without the '@' symbol accepted in
> Delphi?
>
Yep.
And to me it looks "nicer than using "@", even though it is obviously
sloppy syntax and introduces an ambiguity (what to to if a function has
no parameter and returns a value that is a pointer to a function of
exactly this type ?) ;-) .
-Michael
More information about the fpc-pascal
mailing list