Guest Travis Report post Posted 08/01/2003 10:46 PM First off, great software!! Now, my question: I need an Evaluation Expression Module to simply add (or sum) two Result Variables. I think my problem is just a simple syntax error in my construction of the expression. In my example below the two RV's being added were supplied in previous modules by the caller, and the total is then logged by the expression module for use in subsequent modules. This is what I've tried: $RV[ProductAQty] + $RV[ProductBQty] = $RV[QtyTotal] I want this result: 12 + 20 = 32 I'm getting concatenate: 12 + 20 = 1220 I've read the help file for Voiceguide closely, but can't figure it out. I'm using the beta version 5_12 of Voiceguide if that matters. How can I correct my expression to get it to calculate, instead of concatenate my variables? Share this post Link to post
SupportTeam Report post Posted 08/02/2003 01:12 AM I suspect that you may be specifying: "$RV[ProductAQty]" + "$RV[ProductBQty]" instead of $RV[ProductAQty] + $RV[ProductBQty] The quotes make the RV into a string - and then the system concatenates the strings... Normal additions work as expected - please see the sample script attached. RV_Addition_Test.vgs Share this post Link to post