
A2.2 Ox function summary 35
SetOxMessage
void SetOxMessage(
void (OXCALL * pfnNewOxMessage)(char *) );
pfnNewOxMessage in: new message handler function
No return value.
Description
Installs a message handler function which is used by OxMessage.
SetOxPipe
void SetOxPipe(int cPipe);
cPipe in: > 0: sets pipe buffer size, 0 uses default buffer size, < 0
frees pipe
No return value.
Description
Activates piping of output to another destination than stdout. The output from
the print function will from now on be handled by the OxPuts function, and
input by OxGets. A subsequent attempt for output or input will fail if no new
handler for OxPuts or OxGets has been installed.
SetOxPuts
void SetOxPuts(void (OXCALL * pfnNewOxPuts)(char *s) );
pfnNewOxPuts in: new OxPuts function
s in: null-terminated string to output
No return value.
Description
Replaces the OxPuts function by pfnNewOxPuts. Is used together with
SetOxPipe to redirect the output from print.
SetOxRunMessage
void SetOxRunMessage(void (OXCALL * pfnNewOxRunMessage)(char *) );
pfnNewOxRunMessage in: new message handler function
No return value.
Description
Installs a message handler function which is used by OxRunMessage and
OxRunErrorMessage.
SOxGetTypeName
char * SOxGetTypeName(int iType);
iType in: type, one of OX
INT, OX DOUBLE, OX MATRIX,etc.
Commentaires sur ces manuels