[fpc-pascal] Mode Delphi and functions as parameters.
vfclists .
vfclists at gmail.com
Wed Mar 18 15:49:18 CET 2015
I have recently compiled projects which were converted from Delphi and it
seems to me that the passing a function as a parameter does not require the
'@' symbol. I suspect syntax errors came because I wasn't compiling from
the command line.
e.g
function AFunction()
begin
end;
CallFunctionWithFunctionParameter (AFunction) instead of
CallFunctionWithFunctionParameter (@AFunction)
Is passing a function as parameter without the '@' symbol accepted in
Delphi?
--
Frank Church
=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150318/254b10da/attachment.html>
More information about the fpc-pascal
mailing list