Effect of context
If an item of data belongs to one standard data type (boolean, integer, double, or string) but the context requires a different standard data type, then when the data is evaluated (either when the Macro Editor saves the data or else when the macro runtime plays the macro) it is automatically converted to the standard data type required by the context, if possible.
Examples of context are:
- The Condition field of a Condition descriptor (expects a boolean value)
- The Message Text field of a Message action (expects a string value)
- The Value field of a Variable update action when the variable is a field variable (expects a location string)
- The Row value of an Input action (expects an integer value)
123apple
cannot be converted to
an integer) then an error occurs. The Macro Editor displays an error
message. The macro runtime stops the macro playback and displays an
error message.The following subsections discuss the conversions that can occur for each standard data type.