
30 Appendix A2 Exported Function Summary
OxMessage
void OxMessage(char *s);
s in: text to print
No return value.
Description
Prints a message.
OxRunAbort
void OxRunAbort(int i);
i in: currently not used
No return value.
Description
Exits the run-time interpreter at the next end-of-line. The code should have end-
of-line coding on (so not using -on), and end-of-line interpretation on (either
using -rn or debugging). This exits cleanly, so that, when an external program is
running Ox functions (e.g. using FOxRun), the next call will work as expected.
OxRunError
void OxRunError(int iErno, char *sToken);
iErno in: error number as defined in oxexport.h,or:
−1: skips text of error message
sToken in: NULL or offending token
No return value.
Description
Reports a run-time error message using OxRunErrorMessage.
OxRunErrorMessage
void OxRunErrorMessage(char *s);
s in: message text
No return value.
Description
Reports a run-time error message, the call trace, and exits the program.
OxRunExit
void OxRunExit(void);
No return value.
Description
Cleans up after running a program.
Comentários a estes Manuais