[Pas2js] sequencing function calls in pas2js
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Jun 10 15:40:08 CEST 2018
On Sat, 9 Jun 2018 14:28:23 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:
>[...]
> > The first would need pas2js support for typecasting a function to
> > TJSFunction.
>
> It would probably be handy to have a function to convert a function address
> to a TJSFunction instance.
Trunk now allows TJSFunction(@Proc) and TJSFunction(ProcRef).
Keep in mind that TJSFunction(@aMethod) creates a function wrapper to
bind the Self argument.
Mattias
More information about the Pas2js
mailing list