cmd_disp Function (ROM Call 0x33D)

AMS 1.01 or higher bascmd.h

void cmd_disp (CESI ExprList);

Executes TI-Basic 'Disp' command.

cmd_disp first displays the current contents of the TI-Basic Program I/O Screen window. If ExprList points to END_TAG, cmd_disp does nothing more. Else, the expression (or string, if ExprList points to STR_TAG) pointed to by ExprList is displayed on the TI-Basic Program I/O Screen window. This task is repeated for all expressions on the expression stack below ExprList, until END_TAG is reached. Each expression (or character string) is displayed on a separate line in the TI-Basic Program I/O Screen window. If "Pretty Print" in the current mode settings is turned on, expressions are displayed in mathematical notation.


Uses: HeapFree, ER_catch, ER_success, ER_throwVar, next_expression_index, Parms2D, Parse1DExpr, Parse2DExpr, Print2DExpr, top_estack, EV_setFKeyState, EV_startApp, ScrToHome, ScrToWin, TE_unfocus, EV_currentApp, EV_quit, WinActivate, WinAttr, WinBackupToScr, WinClr, WinDeactivate, WinHeight, WinHide, WinScrollV, WinStrXY, ROM Call 0x457, ROM Call 0x471