| cmd_pause | Function (ROM Call 0x36B)

AMS 1.01 or higher | bascmd.h

void cmd_pause (CESI Expr);

Executes TI-Basic 'Pause' command.

cmd_pause suspends the program execution until 'ENTER' is pressed. If Expr points to END_TAG, cmd_output does nothing more. But, if Expr points to an expression, it displays the current contents of the TI-Basic Program I/O Screen window and displays the expression pointed to by Expr at the current TI-Basic text coordinates. If "Pretty Print" in current calculator mode settings is turned on, expressions are displayed in mathematical notation. If the result of the expression is too big to fit on the screen, you can use the cursor pad to scroll the display.

Uses: HeapFreeIndir, ER_catch, ER_success, ER_throwVar, Parms2D, Parse1DExpr, Parse2DExpr, Print2DExpr, top_estack, EV_paintWindows, EV_setFKeyState, EV_startApp, ScrToHome, ScrToWin, kbhit, ngetchx, ST_busy, strlen, idle, off, OSTimerExpired, OSTimerRestart, XR_stringPtr, TE_unfocus, EV_currentApp, EV_quit, WinActivate, WinAttr, WinBackground, WinBackupToScr, WinCharXY, WinClr, WinDeactivate, WinFill, WinHeight, WinHide, WinScrollH, WinScrollV, WinStrXY, WinWidth, ROM Call 0x457, ROM Call 0x46E, ROM Call 0x471