| push_getmode | Function (ROM Call 0x318)

AMS 1.01 or higher | basfunc.h

void push_getmode (CESI ModeNameString);

Executes TI-Basic 'getMode' function.

push_getmode assumes that ModeNameString points to the tag of a string expression (usually STR_TAG). If it points to a specific mode name string, it pushes a new string containing the current setting for that mode to the expressions stack. See push_setmode for a list of legal mode name strings.
If the mode name string is "ALL", push_getmode pushes a list of string pairs containing the settings of all the modes to the expression stack. So, you can restore all mode settings later at once using push_setmode.