Please enable JavaScript to view this site.

 

Default value: rte_Abort_Script

Possible values: rte_Abort_Macro or rte_Abort_Script.

 

This compiler directive specifies what to do if an error is encountered while executing a macro.

 

rte_Abort_Macro

The default value is rte_Abort_Macro which aborts the current macro and generates an error message that will be included with other run-time messages in the error log. Script execution is not interrupted, it moves on to the next token (macro or non-macro).

rte_Abort_Script

Using the value rte_Abort_Script will do the same, but will abort the script immediately. This setting may be used when you suspect that a first error is destabilizing your system.

 

The reason for choosing rte_Abort_Macro as the default value is that most tokens are independent of one another and that you can usually go on to another token even if there was an error in evaluating the previous one (that is what happens for regular tokens). Some of these error conditions may occur only for a few dates (such as no holidays generated for the year ayear).