Conditional Loops (Gto) - HP 33s Owner's Manual

Rpn/alg scientific calculator
Hide thumbs Also See for 33s:
Table of Contents

Advertisement

This routine (taken from the "Coordinate Transformations" program on page
15–32 in chapter 15) is an example of an infinite loop. It is used to collect the
initial data prior to the coordinate transformation. After entering the three values, it
is up to the user to manually interrupt this loop by selecting the transformation to be
performed (pressing
new–to–old system).

Conditional Loops (GTO)

When you want to perform an operation until a certain condition is met, but you
don't know how many times the loop needs to repeat itself, you can create a loop
with a conditional test and a GTO instruction.
For example, the following routine uses a loop to diminish a value A by a constant
amount B until the resulting A is less than or equal to B.
File name 33s-E-Manual-1008-Publication(1st).doc
Printed Date : 2003/10/8
t
N for the old–to–new system or
Page : 386
Size : 13.7 x 21.2 cm
t
Programming Techniques
O for the
13–17

Advertisement

Table of Contents
loading

Table of Contents