| cmd_stogdb | Function (ROM Call 0x390)

AMS 1.01 or higher | bascmd.h

void cmd_stogdb (SYM_STR SymName);

Executes TI-Basic 'StoGDB' command.

cmd_stogdb creates a Graph database (GDB) variable whose name is pointed to by SymName (a VAT string, see SYMSTR), containing the current graphing mode, 'Y=' functions, Window variables, Graph format settings, 1 or 2 Graph setting (split screen and ratio settings if 2-Graph mode), Angle mode, Real/complex mode, Initial conditions for Sequence and Diff Equations mode, Table flags, tblStart, Delta_tbl and tblInput system variables. These items are saved for both graphs in 2-Graph mode. You can use cmd_rclgdb to restore the graph environment later.

Uses: HeapAlloc, HeapFreeIndir, gdb_len, gdb_store, DerefSym, SymDel, VarStore

See also: cmd_rclgdb