beautypg.com

Edit a program – HP Prime Graphing Calculator User Manual

Page 512

background image

508

Programming

The current value of each variable is visible in the
main body of the screen. The following menu buttons
are available in the debugger:

: Skips to the next line or block of the program

: Executes the current line
: Opens a menu of variables
: Closes the debugger
: Continues program execution without

debugging

3. Execute the FOR loop command.

The FOR loop starts and the top of the display shows

the next line of the program (the MSGBOX
command).

4. Execute the MSGBOX command.

The message box appears. Note that when each
message box is displayed, you still have to dismiss it
by tapping

or pressing

E

.

Tap

and

press

E

repeatedly to execute

the program step-by-step.

Tap

to close the debugger at the current line of the

program, or tap

to run the rest of the program

without using the debugger.

Edit a

program

You edit a program using the Program Editor, which is
accessible from the Program Catalog.
1. Open the Program

Catalog.

Sx

2. Tap the program you

want to edit (or use
the arrow keys to
highlight it and press

E

).

The HP Prime opens the Program Editor. The name of
your program appears in the title bar of the display.