[Pas2js] Export a method to be called from javascript?

Luca Olivetti luca at ventoso.org
Mon Jul 3 11:06:25 CEST 2023


Hello,

how do I export a method/procedure so that it can be called by plain 
javascript?

I need it so I can call it from an android WebView 
(myWebView.evaluateJavascript).

I tried to add an "export" modifier both to a method and to a plain 
procedure but the compiler tells me "not yet implemented".

Bye
-- 
Luca



More information about the Pas2js mailing list