Use EvaluateData to compare the value of one variable or constant to the value of another variable or constant.
The operation can be a numeric comparison or an alphanumeric comparison. Blueworx Voice Response uses ASCII sort order.
The parameters for EvaluateData define the type of comparison and the two values to be compared. The parameters are the same for both Numeric and Alphanumeric comparisons.
EvaluateData can have one of the following results:
When using an ASCII editor, code this action with these parameters in the following order:
For example:
label: "Check Edges" EvalData("NUMERIC", loc2_n, 4) edge EDGE_LESS_THAN: less_than edge EDGE_EQUAL: equal edge EDGE_GREATER_THAN: greater_than edge EDGE_EVAL_MISMATCH: eval_mismatch edge EDGE_NOT_COMPUTED: not_computed ; EvalData("ALPHANUMERIC", loc3_s, "hello");
The parameters and edges are described above under "Parameters" and "Possible results". For more information, see Testing a state table using the debugger.