MAX_STRING_LENGTH

Navigation:  Appendices > Macro Language > Code Structure > Compiler Directives >

MAX_STRING_LENGTH

Previous pageReturn to chapter overviewNext page

Default value :  1,024

Allowed range : 32 to 32,768

 

The purpose of this directive is to avoid running out of resources on the stack by assigning overly long strings to string variables.

 

The default value of 1,024 characters should be more than sufficient for most cases where a token is replaced by text of length of less than 100 characters.

         

If you exceed this value at run-time, Q++ will issue an error message and abort the script.


Topic 107017 updated on 28-Jul-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?max_string_length.htm