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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to