BrianDocherty Report post Posted 03/27/2009 05:45 PM I want to make the input keyed by a user change the value of a result variable used later in the script. For example if the user keys 1 the result variable should take a value of 002 and if the user key 7 the result variable should take a value of 014 all other keyed values are invalid (and this is coped with) I also want to define a default value for teh result variable if the user does not take the path where they are invited to make teh keyed entry. I guess I need to use evaluate expression module but any guidance would be appreciated Share this post Link to post
BrianDocherty Report post Posted 03/27/2009 06:23 PM I want to use a keyed value to set the value of a result variable used later in the script. Specifically if the user keys 1 I would like to set the RV to 002 (must be three digits) and if the user keys 7 set the RV to 014 No other choices are necessary. If the branch has not been taken where the user makes this keyed input I would like to set a default value to the RV of 000 (presumably earlier in the script) I assume I can use the evaluate expression module to to do this but any guidance would be appreciated. Thanks in advance BTW Apologies if I have not double posted Share this post Link to post
SupportTeam Report post Posted 03/27/2009 08:48 PM Yes, the evaluate expression module can be used to assign values to RVs. Here is a sample script the demonstrates the approach: rvset.vgs Share this post Link to post