function in EVAL block

Posted by Rollbase User on 17-Feb-2013 22:06

I would just like to know if it is possible to use function or class declaration in an EVAL block?

All Replies

Posted by Admin on 17-Feb-2013 22:15

Try something like this:



#EVAL[

function f() {

return rbv_api.selectNumber("SELECT SUM(money) FROM a3"); }

f();

]

This thread is closed