...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxDefineOutputFile (outputFileName : STRING;
outputToStdout : BOOLEAN)
status : INTEGER;
|
The xpxDefineOutputFile function specifies the current output file for the xpxPrintf and xpxOutputValue functions. The argument outputFileName specifies the . It is legal to direct the output to a file and to the EDMmodelConverter standard output window at the same time, resulting in consecutive user output to be written to both places.
Any redefinition of UOF (User Output File) while XPX ( EDMvm) is running will result in the file being rewritten.
As for xpxTrace the user output file is inherited into a new XPX program. If UOF is redefined n the child program, the original UOF will be restored when returning to calling program. NOTE: it would me nice to have more options than a single boolean for redefining?
Arguments
...
Type | Name | Comment |
STRING | outputFileName | The name of a file that will be the current output file. If |
...
this argument is an empty string or has an indeterminate value, no current output file will be defined. | ||
BOOLEAN | outputToStdout | When the argument outputToStdout is set to TRUE the output of the functions xpxPrintf and xpxOutputValue will be written to the standard output window of the EDMmodelConverter |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|