RvSet_RvList

Sets a number of Result Variables. If any of the the Result Variables do not exit then they are created.

Syntax

object.RvSet_RvList iLineId, sRvList

Part Description
object VoiceGuide object
iLineId Identification number of the line
sRvList List of Result Variables and their values. Each $RV Key-Value pair is in format [Name]{Value}
Multiple $RV Key-Value pairs can be specified one after another.

Notes

Result Variables are reset at beginning of each call.

 

Example

set vg = CreateObject("vgServices.CommandLink")
'sets two Result variables - which will be able to be accessed
'later as $RV[CallersRating] and $RV[CallersPreference]
vg.RvSet_RvList $RV_LINEID, "[CallersRating]{medium}[CallersPreference]{blue}"
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing