| cmd_custom | Function (ROM Call 0x337)

AMS 1.01 or higher | bascmd.h

void cmd_custom (void);

Executes TI-Basic 'Custom' command.

cmd_custom is an internal subroutine used by the TI-Basic interpreter for defining custom menus using 'Custom'...'EndCustm' 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: Look at the functions from menus.h if you want to make menus inside a C program.

Uses: HeapAllocThrow, HeapFreeIndir, ER_catch, ER_success, ER_throwVar, HToESI, next_expression_index, top_estack, MenuAddIcon, MenuAddText, MenuNew, strlen, NeedStack, CustomFree, push_simplify, ReallocExprStruct, DerefSym, VarRecall, ROM Call 0x5C8

See also: cmd_toolbar, menus.h