Hi All,

Does anyone know how to write a call from FlowScript to a Java Method, when the method name is the same as a keyword in JavaScript?

I am trying to invoke the following Java Method from JavaScript and it refuses to interpret:

        var sess = Packages.org.iniva.Persistance.getSession();
        ....
        sess.delete(coverage);                                          <<< error line

The interpreter complains:

SyntaxError: missing name after . operator

I assume it is the presence of the 'delete' keyword.

Is there any way to 'trick' the JavaScript interpreter to call this?

thanks for any help

regards Jeremy



Reply via email to