Jump to content

< Back to Forum


Logical Operations In Evaluation Module

  • Please log in to reply

#1 Maciej 19 February 2016 - 08:33 PM

How to create logical operations in evaluation module like ?

IF a=100 
  THEN "x"
ELSE "y"

#2 SupportTeam 20 February 2016 - 07:08 AM

Evaluate Expression modules ( http://www.voiceguid...modevalexpr.htm ) are for evaluation of a single expression, and do not support IF/ELSE/etc. conditionals.


Still, the simple IF/THEN functionality as in example described above is possible, as different paths can be specified to be taken from the module depending on the outcome of the evaluation.


To implement the above example, the expression to be evaluated would be something like this:


$RV[a] = 100


and then "True" and  "False" paths can be used to take the script to different modules depending on whether the comparison expression was evaluated to be True or False: eg:


on {True} goto [Module_x]

on {False} goto [Module_y]