VoiceGuide IVR Software Main Page
Jump to content

Passing An Array

Recommended Posts

Yes.

 

Notice how adding the index within the RV name essantailly just creates a new RV...

Share this post


Link to post

I sorry but your answer doesn't help me understand how to pass an array build in VBScript back to VG. Can you give me a short example useing vg.Run_ResultRetun.

 

vg.Run_ReultReturn $RV_LINEID, "[Test Array] {" & arrTestArray & "}" --- fail type mismatch

Share this post


Link to post

You would need to define each array entry as a separate RV.

 

ie. define the value of each of these:

 

$RV[test 1,1], $RV[test 1,2], $RV[test 1,3]

 

vg.RvSet_RvList $RV_LINEID, "[test 1,1]{value1}[test 1,2]{value2}[test 1,3]{value3}"

 

VG will not create an array internally upon it being passed an array from VBScript. All these functions only accepts strings as their parameters.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×