Generation Options: Miscellaneous

Navigation:  ScriptLine Properties > Generation Options >

Generation Options: Miscellaneous

Previous pageReturn to chapter overviewNext page

The options in the Miscellaneous tab of the generation options ScriptLine property dialog are:

 

Force temp tables generation

This option, if set to true, forces Q++Studio to create temporary data tables during the creating local tables stage of diary generation, even if Q++Studio has determined that, for example, the current script did not use any Saints, and that, therefore, it was not necessary to create a temporary Saints table locally.

 

The default, and recommended, value for this option is false, and there is almost never any reason to set this option to true.

Max recursion level

Whenever Q++Studio evaluates a token it keeps track of the number of levels of recursion used. Whenever that number reaches the value of the Maximum Recursion property, the processing of the token is stopped and a run-time error message is generated.

 

Most tokens get converted with a recursion level of 0 (zero). The token comes in and is replaced by text that does not contain tokens. For example, [a1Dddd] may get converted to Monday.

However, sometimes, a conversion functions must evaluate included tokens immediately because the original token's date cannot be used for these included tokens. This is the case for duration tokens and MiniCalendar Tokens. This is usually a sign that you are replacing a token by the same token, either in the multi-holidays surrounding text or the moon options. In these cases the recursion level of the conversion function calling itself can increase.

 

The default value for this property, 50, should be more than enough in most cases.

Max iteration level

Whenever Q++Studio evaluates a token it keeps track of the number of levels of iterations used in converting each individual token. Whenever that number reaches the value of the Maximum Iterations property, the processing of the token is stopped and a run-time error message is generated.

 

Most tokens get converted with an iteration level of 0 (zero). The token comes in and is replaced by text that does not contain tokens. For example, [a1Dddd] may get converted to Monday.

A token such as [a1:dmmmm] may be converted, depending on the language, into [Mmmm] [d][.d] which would cause the token conversion to be called 3 more times to evaluate these 3 tokens, hence a iteration level of 3.

Even recursive macro tokens that generate complete months and format different elements of each day differently, usually reach an iteration level of about 300 only.

 

The default value for this property, 1000, should be more than enough in most cases.

Maximum BOXFIT BOXGROW Iterations

The maximum number of iterations in any given BOXFIT or BOXGROW token, before the process is aborted.

Warn if no overflow in BOXFIT

BOXFIT tokens are used to expand a box, containing text overflow, until it is exactly the right size for the contained text, not too small, and not too large. If there is no text overflow at the beginning of the processing of a BOXFIT token, then a warning message will be issued, unless the present option is set to false.

Override XPress Tags Version

This option should only be used at the request of technical support.


Topic 179075 updated on 13-Mar-2019.
Topic URL: https://www.qppstudio.net/webhelp_xe3/index.html?miscellaneous2.htm