Am 09.08.2017 06:21 schrieb "Ryan Joseph" :
>
>
> > On Aug 7, 2017, at 1:47 PM, Mattias Gaertner
wrote:
> >
> > What you mean are "anonymous functions" or "closures".
> >
> > State in FPC:
> > http://lists.freepascal.org/pipermail/fpc-devel/2016-August/037328.html
>
> Yes, closures. Seems like dev
> On Aug 7, 2017, at 1:47 PM, Mattias Gaertner
> wrote:
>
> What you mean are "anonymous functions" or "closures".
>
> State in FPC:
> http://lists.freepascal.org/pipermail/fpc-devel/2016-August/037328.html
Yes, closures. Seems like development may be abandoned but it’s a good idea
none the
On Mon, 7 Aug 2017 10:52:35 -0600
Ryan Joseph wrote:
>[...]
Note that "inline" functions in FPC have a different meaning:
https://www.freepascal.org/docs-html/prog/progsu36.html
What you mean are "anonymous functions" or "closures".
State in FPC:
http://lists.freepascal.org/pipermail/fpc-devel
I’m seeing feature this in other languages and it’s pretty useful. Has anyone
ever considered this for Pascal?
Instead of declaring a method in the class (or other function) it’s written
inline from the callers scope and inherits from that scope. The only advantage
is readability since everythi