# HP F2226A - 48GII Graphic Calculator User Manual Page 672

Graphing calculator.

@SST
@
@SST
@
@SST
@
@SST
@
@SST
@
@SST
@
Further pressing the @SST
have gone through the entire program, step by step.
debugger did not provide any information on why the program is not
calculating the value of 2a
sub-program, we need to run the debugger again and evaluate a within the
sub-program. Try the following:
J
³@FUNCa `
„°LL @) @ RUN@ @@DBG@
@SST
@
@SST
@
@SST
@
2`
@SST
@
@SST
@
@SST
@
At this point we are within the subprogram
local variable a. To see the value of a use:
~„aµ
Let's kill the debugger at this point since we already know the result we will
get. To kill the debugger press @KILL. You receive an
message acknowledging killing the debugger. Press \$to recover normal
calculator display.
Note: In debugging mode, every time we press @SST
display shows the program step being executed. A soft key function called
@@SST@ is also available under the @) R UN sub-menu within the PRG menu.
Result: a:2
Result: empty stack, executing
Result: empty stack, entering subprogram
Result: '2*a^2+3'
Result: '2*a^2+3', leaving subprogram "
Result: '2*a^2+3', leaving main program"
@ soft menu key produces no more output since we
2
+3 for a = 2. To see what is the value of a in the
Copies program name to stack level 1
Starts debugger
Step-by-step debugging, result: "Enter a:"
Result: {" a:" {2 0} V}
Result: user is prompted to enter value of a
Enter a value of 2 for a. Result: " :a:2"
Result: a:2
Result: empty stack, executing
Result: empty stack, entering subprogram «
«
This indeed shows that the local variable a = 2
a
This run through the
a
" which uses the
'2*a^2+3'
<!> Interrupted
@ the top left corner of the
Page 21-23
«