Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX:
 
xpxCompileExpress_X (fileName , diagnosticFile                   : STRING;
                     options , VAR noOfWarnings , VAR noOfErrors : INTEGER)                     status                                      : INTEGER;
 
The xpxCompileExpress_X function runs the one or more EXPRESS-X schemata through the EDMexpressXCompiler. Optionally it creates and populates an EXPRESS-X dictionary model in the EDMdatabase for one or more of the compiled EXPRESS-X schemata. The EXPRESS-X schemata to be compiled is residing in the file(s) specified in the fileName argument. The fileName argument can specify more than one file by using wild cards (star) or by specifying several file names separated by the comma character. Any number of schemata can reside on one file.
The argument diagnosticFile specifies the name of a file that will receive the error and warning messages from the EDMexpressXCompiler. If the diagnosticFile is an empty string or has the value indeterminate (question), then the output from the EDMexpressXCompiler will be to the EDMmodelConverter standard output window.
The argument options specifies the EDMexpressXCompiler options that should be used during the compilation. The options argument should be specified as a zero or as a sum of one or more integer constants.
These constants are equivalent to the options used in the EDMinterface function edmiDefineSchemaMap except for that they are prefixed with XPX.
The arguments noOfWarnings and noOfErrors will receive the number of warnings and number of errors respectively, detected during the compilation process.
The xpxCompileExpress_X function is identical to the xpxDefineSchemaMap function.
This function is equivalent to the EDMinterface function edmiDefineSchemaMap

  • No labels