Output commands, Graphical user interface commands – Texas Instruments PLUS TI-89 User Manual

Page 319

Advertising
background image

302 Chapter 17: Programming

17PROGRM.DOC TI-89/TI-92 Plus: Programming (English) Susan Gullord Revised: 02/23/01 1:14 PM Printed: 02/23/01 2:18 PM Page 302 of 40

Command

Description

Clr

Z

O

Clears the Program I/O screen.

Disp

Displays an expression or string on the Program I/O
screen.

Disp

can also display the current contents of

the Program I/O screen without displaying
additional information.

DispG

Displays the current contents of the Graph screen.

DispHome

Displays the current contents of the Home screen.

DispTbl

Displays the current contents of the Table screen.

Output

Displays an expression or string starting at specified
coordinates on the Program I/O screen.

Format

Formats the way in which numeric information is
displayed.

Pause

Suspends program execution until the user presses
¸. Optionally, you can display an expression
during the pause. A pause lets users read your
output and decide when they are ready to continue.

Text

Displays a dialog box that contains a specified
character string.

Command

Description

Dialog...
EndDlog

Defines a program block (consisting of

Title

,

Request

, etc., commands) that displays a dialog box.

Toolbar...
EndTbar

Defines a program block (consisting of

Title

,

Item

,

etc., commands) that replaces the toolbar menus.
The redefined toolbar is in effect only while the
program is running and only until the user selects an
item. Then the original toolbar is redisplayed.

CustmOn...
CustmOff

Activates or removes a custom toolbar.

Custom...
EndCustm

Defines a program block that displays a custom
toolbar when the user presses 2 ¾. That
toolbar remains in effect until the user presses
2 ¾ again or changes applications.

DropDown

Displays a drop-down menu within a dialog box.

Item

Displays a menu item for a redefined toolbar.

Request

Creates an input box within a dialog box.

Text

Displays a character string within a dialog box.

Title

Displays the title of a dialog box or a menu title
within a toolbar.

Output Commands

Note: In a program, simply
performing a calculation
does not display the result.
You must use an output
command.

Tip: After Disp and Output,
the program immediately
continues. You may want to
add a Pause command.

Graphical User
Interface
Commands

Tip: When you run a
program that sets up a
custom toolbar, that toolbar
is still available even after
the program has stopped.

Note: Request and Text
are stand-alone commands
that can also be used
outside of a dialog box or
toolbar program block.

Advertising
This manual is related to the following products: