Ryan Joseph wrote:
On Oct 23, 2017, at 9:05 PM, Michael Van Canneyt <[email protected]> wrote:
It is not the default because neither Delphi nor TP allow this.
then that begs the question, why not? :) If local functions are a useful
feature then local callbacks should be too.
Because
1. it takes a few extra processor cycles
2. it breaks binary compatibilty.
For a detailed discussion, see <https://bugs.freepascal.org/view.php?id=15925>
Regards,
Adriaan van Os
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal