Developer Documentation Library > Scripting > mrPrePro preprocessor
 
mrPrePro preprocessor
The mrPrePro preprocessor performs preliminary operations on UNICOM Intelligence script code before the code is parsed and executed by the scripting engine. By default, mrPrePro runs automatically when you execute an mrScriptBasic (.mrs) file or a data management script (.dms) file in UNICOM Intelligence Professional, UNICOM Intelligence Reporter Developer Kit (DCP), DMS Runner, or the mrScript Command Line Runner. However, you can suppress the preprocessor in the mrScript Command Line Runner.
mrPrePro is derived from the Wave preprocessor library (see http://www.boost.org/libs/wave/index.html), which supports the C99/C++ preprocessor functionality. mrPrePro adds support for the following features:
Files sizes up to 768KB (Unicode).
Unicode files in a number of formats.
Visual Basic compatible comments, defined by a single quote at the start of the comment text.
Line continuation, defined by an underscore character that is preceded by a space and followed by a line terminator at the end of a line (that continues onto the next line).
The -z or --comments option can be used on the command line.
See
Running mrPrePro
mrPrePro options