SupportTeam Report post Posted 10/11/2007 10:35 PM David wrote: We purchased your software for our client a couple of weeks ago. Most of the script is working great but I'm having a little trouble. I'm trying to increment a counter in the VoiceGuide script to count the number of times a user requests a form during a single session. It is not working, even though I believe I am following the examples in the Help documentation. Obviously I must be doing something wrong.... Also what do we need to do to use the .net version. Will the script run without modifications? Share this post Link to post
SupportTeam Report post Posted 10/11/2007 10:37 PM Please post the script with which you are having problems and we can then have a look at it. The scripts should run with no changes in v7. Share this post Link to post
Transomatic Report post Posted 10/11/2007 11:32 PM Please post the script with which you are having problems and we can then have a look at it. The scripts should run with no changes in v7. I'm trying to increment a variable called formCount and when the call is finished announce to the caller how many forms they requested. Thanks for you help, David Faulkner DHA.vgs Share this post Link to post
SupportTeam Report post Posted 10/12/2007 12:39 AM In the module [increment Form Count] just use this expression: $RV[FormCount] + 1 See the example towards the botom of this page: http://www.voiceguide.com/vghelp/source/html/modevalexpr.htm (you are currently using: FormCount = $RV[FormCount] + 1 which is a boolean exprssion, not a calculation...) Share this post Link to post
ktruk Report post Posted 11/02/2007 10:25 PM Transomatic: The first time the script runs, the RV may be "" (nul) so it should be initilaised to 0 to avoid a runtime error (nul+1=error). Alternatively, prefix the formula with a zero: ie: 0$RV[ctr] + 1 This way the statement evaluates to 0+1 the first time, then 01+1 (=2) second time and so on... Share this post Link to post