On Mon, May 17, 2010 at 4:24 PM, Florian Klaempfl
<flor...@freepascal.org> wrote:
>
> ... and one uses normally a function and not a var/out parameter.

No... If you forget to put a variable to receive the function result
(a object created), a memory leak will happen.
The "out" parameter requires a variable.


Marcos Douglas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to