Script_Return

Returns control of the call to the calling script.

Syntax

object.Script_Return iLineId, sRvList

Part

Description

object

VoiceGuide object

iLineId

Identification number of the line

sRvList

List of Result Variables and their values. Each RV-Value pair is in format [Name]{Value} a number of RV-Value pairs can be specified one after another.

Notes

Effectively pops the return destination script/module of the call stack and start execution at that script/module.

When used in the Run VBScript modules: the jump to next module is made immediately when Script_Return is called, so Script_Return usually should be the last function in the script (before 'set vg = Nothing')

 

Example 1

set vg = CreateObject("vgServices.CommandLink")
vg.Script_Return $RV_LINEID, ""
set vg = Nothing

Example 2

set vg = CreateObject("vgServices.CommandLink")
vg.Script_Return $RV_LINEID, "[PersonalDataVerified]{True}"
set vg = Nothing

 

VoiceGuide

© Katalina Technologies Pty. Ltd.