HP (Hewlett-Packard) 32SII Calculator User Manual


 
Programming Techniques 13–19
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
1
$

$
.
.
.
$
 
2
1
$
!
$
$
%
%
2
If current value
>
final value,
continue loop.
.
.
.
If current value
final value, exit
loop.
1
$

$
.
.
.
$
 
2
1
$
!
$
$
%
%
2
If current value
final value,
continue loop.
.
.
.
If current value
>
final value, exit
loop.
For example, the loop–control number 0.050 for ISG means: start counting at
zero, count up to 50, and increase the number by 1 each loop.
The following program uses ISG to loop 10 times. The loop counter
(0000001.01000) is stored in the variable Z. Leading and trailing zeros can
be left off.



)

!
'




 
'

!

!
Press
{
Z to see that the loop–control number is now 11.0100.