Jump to content

< Back to Forum


Global Variable To Refer To In Module

  • Please log in to reply

#1 yona 03 June 2015 - 07:02 AM

I want to have a variable set in .ini or some other file, and then be able to refer to the RV from within the voice guide modules - As in: on {true} goto $RV[my_ini_variable]


Is there any way?


Thanks a lot,


#2 SupportTeam 03 June 2015 - 07:22 AM

Global RV can be preset in VG.INI, in section [Scripts].

Please set an entry like this in the VG.INI's [Scripts] section:


GlobalRV=[myvalue1]{yes}[somothervalue]{324324}[my_ini_variable]{My Module Name}[andsomethingelse]{admin@asd.com}



note that expression:


on {true} goto $RV[my_ini_variable]


would need to be changed to:


on {true} goto [$RV[my_ini_variable]]