Action when the Recognition limit is reached

The default action when the recognition limit is reached is that the macro runtime displays an error message such as the following and then terminates the macro:
Recolimit reached, but goto screen not provided, macro terminating.
If you want the macro runtime, as a recognition limit action, to go to another macro screen, then you must use the Code Editor to add a goto attribute to the <recolimit> element and specify the name of the target macro screen as the value of the attribute (see <recolimit> element).

If you use the goto attribute, the macro runtime does not terminate the macro but instead starts processing the macro screen specified in the attribute.

You can use the target macro screen for any purpose. Some possible uses are:
  • For debugging.
  • To display an informative message to the user before terminating the macro.
  • To continue processing the macro.