
24 Appendix A2 Exported Function Summary
iMainIP in: return value from OxMain
sFunc in: name in Ox code of function to call
Return value
TRUE if the function is run successfully, FALSE otherwise.
Description
Calls a function by name, bypassing main().
FOxSetDataMember
bool FOxSetDataMember(OxVALUE *pvClass, const char *sMember,
OxVALUE *pv);
pvClass in: the object in which to set a data member, must be of type
OX
CLASS
sMember in: name of the data member
pv in: new value of the data member
Return value
TRUE if the function is called successfully, FALSE otherwise.
Description
Sets a data member from an object. The assigned value is taken over (if it is by
value, it is transferred, and pv will have lost its by value property (OX
VALUE).
IOxRunInit
int IOxRunInit(void);
Return value
Zero for success, or the number of link errors.
Description
Links the compiled code and initializes to prepare for running the code.
IOxVersion
int IOxVersion(void);
Return value
Returns 100 times the version number, so 100 for version 1.00.
OxFnDouble,OxFnDouble2,OxFnDouble3,OxFnDouble4,OxFnDoubleInt
void OxFnDouble(OxVALUE *rtn, OxVALUE *pv,
double (OXCALL * fn1)(double) );
void OxFnDouble2(OxVALUE *rtn, OxVALUE *pv,
double (OXCALL * fn2)(double,double) );
void OxFnDouble3(OxVALUE *rtn, OxVALUE *pv,
double (OXCALL * fn3)(double,double,double) );
Komentarze do niniejszej Instrukcji