VoiceGuide IVR Software Main Page
Jump to content

Rv Scriptpath/scriptspath

Recommended Posts

The VoiceGuide Help File states:

 

"

$RV[scriptPath]

The path to the location where the script is located. Does not include the "\" at the end.

"

 

However the variable's value actually does end with a trailing slash. Which is the correct behavior? Will the application behavior revert to the Help File's description in the future (and thereby invalidate my scripts)?

Share this post


Link to post

Looks like the Help file entry did not match actual implementation.

 

Thank you for bringing this to our attention.

 

The decision we came to is that for better readability when path $RVs have another path\filename concatenated to them, the path $RVs should NOT have a "\" at end.

 

We will not modify the behaviour of $RV[scriptPath]. That $RV value will continue to be supported and will have a trailing slash in the future v7 releases. This is to ensure backward compatibility with existing scripts. $RV[scriptPath] should however be considered as deprecated.

 

The incorrect Help file entry for $RV[scriptPath] will be removed from future versions of the Help file.

 

New variable $RV_PathScript will be added and documented in Help file. $RV_PathScript will have no trailing slash.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×