
74 Appendix A3 Modelbase and OxPack
• Model/Model Settings
The model settings determine the remaining model specification, here:
OxPack obtains the contents of the dialog by calling the SendDialog func-
tion: SendDialog("OP
SETTINGS"). When the user presses OK, OxPack calls
ReceiveDialog("OP
SETTINGS", ...), where the remaining arguments give
the user-specified values.
• Model/Estimate
OxPack calls SendMethods() to determine the available estimation meth-
ods. Then, if OK is pressed OxPack first calls ReceiveData() and
ReceiveModel(), to allow the package to extract the data and model for-
mulation using the "OxPackGetData" function. (The package implements this
function call as a string to avoid a link error when using the package directly
from Ox.) Next, the Estimate function is called.
• Model/Options
Options refer to settings which may be less frequently changed. When OxPack
calls SendDialog("OP
OPTIONS"), the default Modelbase implementation al-
lows for the maximization options to be set.
• Te st menu
The menu entries are determined from the return value of SendMenu("Test").
The package can again use dialogs to allow the user to choose options.
Komentarze do niniejszej Instrukcji