| MO_digestOptions | Function (ROM Call 0xDB)

events.h

void MO_digestOptions (short Folder);

Updates system mode settings from options structure.

MO_digestOptions "digests" options from the ModeSettings structure (in other words, the MO_option array) into the various TIOS system variables. It should be called after each change of the options structure to notify the calculator about changes. This routine may change the status line indicators. It also notifies all applications about eventual changes, if there was any essential changes (using MO_notifyModeChange). If new mode settings need a change of current application or side, it may also quit an application (see MO_sendQuit), switch sides, start a new applications/tasks etc. which in fact means sending a sequence of messages to applications (see EV_startApp etc.).
Parameter Folder is the index (ordinal number) of the current folder in the folder list. Under normal conditions, you should always pass zero to this parameter. The mode dialog box calls MO_digestOptions with non-zero argument to indicate which folder name is highlighted in the "Current Folder" popup menu.

Uses: EV_notifySwitchGraph, EV_sendEventSide, EV_startSide, EV_startTask, MO_isMultigraphTask, MO_notifyModeChange, MO_option, MO_sendQuit, next_expression_index, PopupText, ST_angle, ST_folder, ST_precision, cmpstri, strcmp, XR_stringPtr, CTypeTable, EV_appA, EV_appB, EV_appSide, EV_currentApp, init_unit_system, OO_firstACB, OO_GetAppAttr, OO_NextACB, FolderCur, StrToTokN, ROM Call 0x41C, ROM Call 0x41D, ROM Call 0x41E, ROM Call 0x471
Used by: EV_defaultHandler, MO_defaults, MO_modeDialog, push_setmode, gdb_recall, OSLinkCmd, EV_quit