Hi I have a 2day array with values I needed to display in my eval block. The problem is whenever is that EVAL is string returning which means that whenever i pass the array itself, Rollbase converts it to string. Are there any other ways of passing a 2 d array from the eval block?
Try encapsulating the script in a function and pass it to Eval. Check out stackoverflow.com/.../how-do-i-return-evalcode-and-get-an-object-back-with-javascript
Hi Santosh,
I am very sorry for the confusion
I actually have a 2day array from my eval function and i want to return it to my script. The problem is that rollbase converts returns from evals into strings. Are there any workarounds with this?
var arr = [tag:EVAL]
[
var email = rbv_api.selectQuery("SELECT email, id FROM collector",20000);
return email;];
Any luck with this answer?