Functions and Directives

Function PreProcessFile() Professional

Preprocess a whole file

Syntax
PreProcessFile( <cInputFileName>, <cPPOName>) --> nErrNum
Parameters
<cInputFileName>
The parameter <cInputFileName> is a character string containing a file name. This file will be read in and translated.
<cPPOName>
<cPPOName> is the file name of the target file. It is a character string.
Return

The return value of PreProcessFile() is a numerical value indicating the success or error of the function. If no error occured, the returned value is XPP_ERR_NONE.

Description

The function PreProcessFile() processes the contents of the file <cInputFileName>and writes the translated output to a file named <cPPOName>. If the file <cPPOName> already exists it will be overwritten.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.