Guest CanStringCan Report post Posted 04/21/2005 11:49 PM Hi I am trying to build my own function that creates a string or file names from a number. This string is then available for the following modules. I will be calling the module from several different places in my script, so I need the function to be flexible eg: Number passed in is 123 String created is "one.wav, two.wav,three.wav" I am trying to make this function available for any module to use. My aproach is Build a module, say vbsNumbers that creates the string then use Script_Gosub $RV_LINEID, "", "vbsNumbers", "[numbers]{123}", "", "NextModule" where next module could be anything. The code above seems to call the vbsNumbers, but then the script terminates instead of proceeding to NextModule Share this post Link to post
Guest CanStringCan Report post Posted 04/22/2005 05:32 AM A have copied the module and use a seperate vbscript module every time I need to say the number, it is not pretty but it works. I am now having problems with the fisrt digit being zero. If I enter a number 02635444444 then both $RV_ENTEREDNUMBER and the $RV[get number molue ] will omit the leading 0. Ie, these values will be 2635444444 I have tried to cast them as string, or asign them to values that precviously were strings but no luck. Any help would greatly be appreciated. Share this post Link to post
SupportTeam Report post Posted 04/23/2005 10:28 AM If you want to speak the digits of the entered number use the "Digits" function in the VG Say Number module... You can also add your own "Say number" type functions to that module, for more info see bottom of: http://www.voiceguide.com/vghelp/html/modSayNumber.htm Share this post Link to post