TomStorey Report post Posted 12/15/2005 07:52 PM Can I build an array in VBScipt an then pass and use it in VG. Like $RV[test 1,1] Share this post Link to post
SupportTeam Report post Posted 12/16/2005 12:26 AM Yes. Notice how adding the index within the RV name essantailly just creates a new RV... Share this post Link to post
TomStorey Report post Posted 12/16/2005 12:42 PM 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
SupportTeam Report post Posted 12/16/2005 10:03 PM 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