
Modelbase::ReceiveData 81
Modelbase::ReceiveData
virtual ReceiveData();
No return value.
Description
Called by OxPack as part of estimation, prior to ReceiveModel(). The default
implementation creates the database, and stores the model data in the database,
also see OxPackGetData(). For example, in Modelbase:
decl freq, year1, period1, year2, period2;
[freq, year1, period1, year2, period2] = "OxPackGetData"("Sample");
Database(); // create the database
Create(freq, year1, period1, year2, period2);
Append("OxPackGetData"("Matrix"), "OxPackGetData"("Names"), 0);
Deterministic(FALSE);
DeSelect();
Modelbase::ReceiveDialog
virtual ReceiveDialog(const sDialog, const asOptions,
const aValues);
sDialog in: string, dialog name
asOptions in: address of variable
out: array with variable labels
asValues in: address of variable
out: array with dialog values
No return value.
Description
ReceiveDialog() is called by OxPack:
• After the user presses OK in one of the predefined dialogs.
The predefined dialogs are:
"OP
SETTINGS" Model settings dialog
"OP
OPTIONS" Options dialog
In this case, the contents of asOptions and asValues are as described
under OxPackDialog() above.
• When the user executes one of the Test menu commands.
Because SendDialog() is always called first, there are two possibilities:
(1) SendDialog() implements the dialog.
The contents of asOptions and asValues are as described under
OxPackDialog() above.
(2) SendDialog() does not implement the dialog.
ReceiveDialog() is still called, to allow the menu command to be
executed. It is also possible to use "OxPackDialog" at this stage to
implement a dialog.
Komentarze do niniejszej Instrukcji