> Callable fn = (Callable) ScriptableObject.getProperty(scope, "myfun");
> Object result = fn.call(cx, scope, scope, new Object[] {"hello
> world"});
>
> Hannes

String quicky[] = { null };
Callable fn = (Callable) ScriptableObject.getProperty(scope, "myfun");
...
...
quicky[0] = "hello world";
String result = (String)( fn.call(cx, scope, scope, quicky ) );
...

THANK YOU!
Now I'm going to test if it's fast enough for my purpouses!

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to