Ryan Joseph wrote:
On Oct 23, 2017, at 9:05 PM, Michael Van Canneyt <mich...@freepascal.org> 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 - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal