HP 35s User Manual page 229

Scientific calculator
Hide thumbs Also See for 35s:
Table of Contents

Advertisement

ii is the interval for incrementing and decrementing (must be two digits or
unspecified). This value does not change. An unspecified value for ii is
assumed to be 01 (increment/decrement by 1).
Given the loop–control number ccccccc.fffii, DSE decrements ccccccc to ccccccc —
ii, compares the new ccccccc with fff, and makes program execution skip the next
program line if this ccccccc
Given the loop–control number ccccccc.fffii, ISG increments ccccccc to ccccccc + ii,
compares the new ccccccc with fff, and makes program execution skip the next
program line if this ccccccc
If current value
final value,
continue loop.
If current value
final value,
continue 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.
If the loop-control number is a complex number or vector, it will use the real part or
first part to control the loop.
The following program uses ISG to loop 10 times in RPN mode. The loop counter
(1.010) is stored in the variable Z. Leading and trailing zeros can be left off.
fff.
fff.
1
  
.
.
.
  
1
  
  
.
.
.
1
  
.
.
.
  
1
  
  
.
.
.
2
2
2
2
Programming Techniques
If current value
final value, exit
loop.
If current value
final value, exit
loop.
14-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2215aa - 35s scientific calculator

Table of Contents