About data types and stored objects
Like Campaign, Interact supports several data types for stored objects. User variables, derived fields, and macros can all use Number, String, and Date data types. Date constants are interpreted using Campaign's date format settings.
Interact also supports the Vector data type. Vectors are similar to arrays, except that the number of elements is variable. All operators available to Interact can have a Vector for at least one of its arguments.
Given the following:
*
X [operation] Y = Z where X, Y, and Z are vectors
*
Sx, Sy, Sz are the size of each vector
*
Dx, Dy, Dz are the data types for each vector, and X and Y must contain the same data types.
Then the following is true:
*
*
Take the following two examples.
The following table shows how Interact evaluates the expressions IF((X+Y)==10) and IF(NOT((X+Y)==10)) where X={1,2,3} and Y={9,10,11}.
Since the equation must evaluate to either true or false, and at least one of the operations evaluates to true, the result of both the expressions IF((X+Y)==10) and IF(NOT((X+Y)==10)) is true.