Parameter |
Top Previous Next |
Parsing texts > Parameter
The IMP filter passes two parameters to the loaded TextTransformer project.
Warning: The parameter might become more complex in future updates of the IMP filter. This can mean that you then have to change your project, if it uses them.
By means of these parameters, e.g. it is possible to write additional information into the logging file:
{{ if(!ConfigParam().empty()) { RedirectOutput(ConfigParam(), true); // append to log file m_bLog = true; out << ExtraParam() << endl; // Mail name } else m_bLog = false; }}
... // Text parsen
{{ if(m_bLog) { if(m_iResult == 0) out << indent << " indifferent" << endl; ResetOutput(); } }}
A further example of the use of ExtraParam is the storage of the mail texts.
|