[fpc-pascal] Optional param modifier
Anthony Walter
sysrpl at gmail.com
Sat Apr 13 17:37:25 CEST 2019
What's wrong with ...
procedure FreeThis; overload;
begin
end;
procedure FreeThis(var obj: TObject); overload;
begin
end;
There, now you have an optional argument with a var reference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190413/bdb6bd17/attachment.html>
More information about the fpc-pascal
mailing list