[fpc-pascal] TThread.Queue vs TThread.Synchronize
Michael Schnell
mschnell at lumino.de
Tue Feb 24 11:23:41 CET 2015
On 02/24/2015 11:12 AM, Sven Barth wrote:
>
>
> AFAIK Delphi doesn't use the term "closures" though conceptually
> anonymous functions (as implemented by Delphi) are one way to achieve
> them.
>
What is the advantage of using a "closure" and/or an "anonymous
function" instead of just doing "free;" as the last instruction of a
normal procedure of some object ?
-Michael
More information about the fpc-pascal
mailing list