Am 20.10.2011 22:31, schrieb Juha Manninen: > > They have some very important uses, like making multithreading easier. > I copy text from Delphi help page again here because it looks so cool:
The same can be done with fpc (nested if needed) procedure variables and it will be more readable (imo)? The example still does not take advantage of properties of anonymous methods/closurs which cause complexity like being ref. counted, putting locals on the heap etc. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal