beautypg.com

Texas Instruments TITANIUM TI-89 User Manual

Page 130

background image

Previews

130

5. Go to the Home screen. Enter the

program name, followed by a set of
parentheses.

You must include ( ) even when there are
no arguments for the program.

The program displays a dialog box with
the prompt specified in the program.

Press "

2 ™ PROG j 1 c

d ¸

6. Type 5 in the displayed dialog box.

Press 5

7. Continue with the program. The

Disp

command displays the result on the

Program I/O screen.

The result is the sum of the integers from
1 through 5.

Although the Program I/O screen looks
similar to the Home screen, it is for
program input and output only. You
cannot perform calculations on the
Program I/O screen.

Press

¸ twice

Steps and keystrokes

Display

prog1()

Output from
other programs
may still be on
the screen.

Result of integer 5