cmd_toolbar Function (ROM Call 0x395)

AMS 1.01 or higher bascmd.h

void cmd_toolbar (void);

Executes TI-Basic 'Toolbar' command.

cmd_toolbar is an internal subroutine used by the TI-Basic interpreter for defining toolbar menus using 'ToolBar'...'EndTBar' blocks. As this function depends heavily on some system state variables of the TI-Basic intepreter which are not set correctly while executing an ASM program, it is extremely unlikely that this function may be used inside a C program for anything useful.

Note: See functions from menus.h if you want to make toolbar menus inside a C program.


Uses: cmd_goto, HeapAllocThrow, HeapFreeIndir, HLock, ER_catch, ER_success, ER_throwVar, HToESI, next_expression_index, top_estack, GKeyIn, FKeyI_H, MenuAddIcon, MenuAddText, MenuBegin, MenuEnd, MenuKey, MenuNew, MenuUpdate, strlen, NeedStack, CustomFree, push_simplify, ReallocExprStruct, DerefSym, VarRecall, ROM Call 0x5C8


See also: cmd_custom, cmd_custmon, cmd_popup, menus.h