Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All the EDMexpressX built-in functions that are true functions and hence, can only be invoked as a function have the prefix xpf. The xpf functions will not return any completion code (error code). The EDMexpressX exception handling should be used to catch errors that are detected during the execution of an xpf function.
Some of the xpf functions provides exactly the same operation as a corresponding xpx function except that the xpf function returns the "real function value" instead of a completion code.
All built in functions are described in the following sections. For built in functions that have a corresponding EDMinterface function, the document EDMassist Volume IV should be consulted for a full documentation of the actual function.
The functions are listed in alphabetical order within each grouping of functions.
Example of invoking an EDMexpressX function both as a function and as a procedure:
STATEMENTS example;
 LOCAL
  Status    : INTEGER;
  aLineInstance  : GENERIC;
  errText    : STRING;
 END_LOCAL;
 
 -- Invoking xpxCreateInstanceBN as a procedure
 xpxCreateInstanceBN(xpxTargetModelId, 'LINE', aLineInstance);
 -- Invoking xpxCreateInstanceBN as a function
 status:=xpxCreateInstanceBN(xpxTargetModelId,'LINE',aLineInstance);
 IF (status <> 0) THEN
  xpxPrintf('\nError in xpxCreateInstanceBN: ');
  xpxGetErrorText(status,errText);
  xpxPrintf('%s',errText);
 END_IF;
....
END_STATEMENTS;

Alphabethical list of functions


Child pages (Children Display)
sorttitle

...