ScriptLine Properties >

Multi-Pass

Return to Introduction  Previous page  Next page  

Property of the ScriptLine : Pre-Processing.

 

In the Unicode version of Q++ Studio, this property is one of the options of the Generation Options property.

 

When this property is set to true, Q++ will start at the beginning of each textbox for each text replacement of tokens.

 

It is needed for case when complex recursion of tokens involving attributes (bold, italic, symbols, ...) lead to a Cannot Find Text ... run-time message, although the text was indeed present in the textbox. This occurs because Q++ searches through each textbox in a single-pass, assuming that text replacements are generated in the proper order. The single-pass saves time, but if the search/replace commands are in the wrong order (extremely rare) then some text to be replaced is missed.

 

Setting Multi-Pass to true is therefore only truly necessary if you generate a lot of text, with varying attributes, from a single token. However, the speed reduction from setting this option to true is minimal and therefore we recommend to always set this option to true to be safe.


Topic updated on 20-Sep-2011
Topic URL: http://www.qppstudio.net/webhelp/index.html?multi_pass.htm