
A3.1 OxPack exported functions 75
A3.1 OxPack exported functions
Note that these function is only available when running via OxPack.
The function names in this section are written as a string. That way, the function is
not resolved until run-time, and the code can be used without OxPack, provided the call
is never attempted.
OxPackBufferOff, OxPackBufferOn
"OxPackBufferOff"();
"OxPackBufferOn"();
No return value.
Description
Switches buffering of text output on and off.
OxPackDialog
"OxPackDialog"(const asDialog, const asOptions, const asValues);
asDialog in: array, dialog definition
asOptions in: address of variable
out: array with variable labels
asValues in: address of variable
out: array with dialog values
Return value
TRUE if OK is pressed, FALSE otherwise.
Description
OxPackDialog() is only available when running via OxPack.
The asDialog argument is an array of arrays, with each entry consisting of just
a text label, or of four or five fields defining the edit control:
(1) text label
(2) control type
(3) control value
(4) control string array (only for CTL
CHECKLIST and CTL SELECT
(5) control label
An example is:
{ { "GARCH(p,q)" },
{ "p =", CTL_INT, m_cP, "p" },
{ "q =", CTL_INT, m_cQ, "q" },
{ "Startup of variance recursion"},
{ "Condition", CTL_RADIO, m_iInitMethod, "init"},
{ "Mean variance", CTL_RADIO},
{ "Estimate", CTL_RADIO},
{ "Model settings"},
Commentaires sur ces manuels