![HP 50G User Manual Download Page 706](http://html.mh-extra.com/html/hp/50g/50g_user-manual_156571706.webp)
Page 21-59
J
1
#
1.5
#
0.5
`
Enter parameters 1 1.5 0.5
[ ‘ ]
@GLIST
`
Enter the program name in level 1
„°LL
@)@RUN@ @@DBG@
Start the debugger.
Use
@SST
↓
@
to step into the program and see the detailed operation of each
command.
The FOR construct
As in the case of the START command, the FOR command has two variations:
the FOR…NEXT construct, for loop index increments of 1, and the FOR…STEP
construct, for loop index increments selected by the user. Unlike the START
command, however, the FOR command does require that we provide a name
for the loop index (e.g., j, k, n). We need not to worry about incrementing the
index ourselves, as done in the examples using START. The value
corresponding to the index is available for calculations.
Commands involved in the FOR construct are available through:
„°
@)@BRCH@ @)@FOR
Within the BRCH menu (
„°
@)@BRCH@
) the following keystrokes are available
to generate FOR constructs (the symbol
indicates cursor position):
Θ
„
@)@FOR
: Starts the FOR…NEXT construct: FOR
NEXT
Θ
‚
@)@FOR
: Starts the FOR…STEP construct: FOR
STEP
The FOR…NEXT construct
The general form of this statement is:
start_value end_value FOR loop_index program_statements
NEXT
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...