
98 Appendix A3 Modelbase and OxPack
// process user actions for test menu dialogs
else if (sDialog == "OP_TEST_GRAPHICS")
{
decl iplot = 0;
// call functions if requested
if (iplot)
ShowDrawWindow();
}
else if (sDialog == "OP_TEST_FORECAST")
{
decl iplot = 0, my, mprob, mloglik, vyindex, midx;
// call functions if requested
if (iplot)
ShowDrawWindow();
}
else if (sDialog == "Further Output")
{
Buffering(TRUE);
// call functions if requested
Buffering(FALSE);
}
else if (sDialog == "OP_TEST_NORMOBS")
{
// call functions if requested
}
else if (sDialog == "Outliers")
{
// call functions if requested
}
else if (sDialog == "OP_TEST_STORE")
{
// call functions if requested
}
else
{ // allow base class to process unhandled cases
Modelbase::ReceiveDialog(sDialog, asOptions, aValues);
}
}
BprobitEx::LoadOptions()
{
// load persistent settings
Modelbase::LoadOptions();
m_iModelClass = "OxPackReadProfileInt"(0,"class", 0);
m_fCovarUnweighted = "OxPackReadProfileInt"(0,"covunw", 0);
}
BprobitEx::SaveOptions()
{
// save persistent settings
"OxPackWriteProfileInt"(0,"class", m_iModelClass);
"OxPackWriteProfileInt"(0,"covunw", m_fCovarUnweighted);
Komentarze do niniejszej Instrukcji