Adding a New Pre-Conversion Module to 07Analyzer
To add a new Pre_Conversion Module to the 'O7Analyzer' library:
- Open the 'O7Analyzer' library and navigate to the mAnalyze menu in the 'Format Browser'.
- Open the 'mAnalyze' menu in design mode.
- Select a free procedure line in the section marked **Modules**.
- Add code to perform the pre-conversion task for the format.
- Enter as the first line of code 'Parameter pRefFormat (Item reference)'. This identifies the variable that will point to a format in the target library to be converted. Your module will be called once for each format in the library.
- Now click on procedure 4 i.e. mAnalyse (processFormat) and add a call to your newly added module, passing it a format reference in the same way that the other modules do. See calls to other modules for examples.
- It may be important to specify the order which your module will be called and make sure that the call in placed in the appropriate location depending on the type of format and processing that is required.
- Save the library.
When the library is run your new pre-conversion module will be called with a reference to each format as it is processed.
For information about pre-conversion tasks, see Pre-Conversion Tasks Performed by 07Analyzer.