EasyManuals Logo
Home>HP>Calculator>15c Collector's Edition

HP 15c Collector's Edition User Manual

HP 15c Collector's Edition
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #126 background imageLoading...
Page #126 background image
114 Section 10: The Index Register and Loop Control
Keystrokes
Display
´
A
2.0000
Running program
:
loop counter = 3.
84.0896
5.0000
Loop counter = 2.
64.8420
8.0000
Loop counter = 1.
50.0000
50.0000
Loop counter = 0; program ends.
Example: Display Format Control
The following program pauses and displays an example of display
format for each possible decimal place. It utilizes a loop containing a
s instruction to automatically change the number of decimal places.
Keystrokes
Display
000-
´
CLEAR
M
000-
´
b
B
001-42,21,12
9
002- 9
nnnnn = 9. Therefore,
xxx = 0 and by default yy = 1
(yy cannot be zero).
O
V
003- 44 25
´
b
0
004-42,21, 0
´
V
005-42, 7,25
l
V
006- 45 25
´
©
007- 42 31
Displays current value of nnnnn.
´
e
V
008-42, 5,25
Value in R
I
is
decremented and
tested. Skip a line if nnnnn
test value.
t
009- 22 0
Continue loop if nnnnn > test
value (0).
|
T
1
010-43,30, 1
Tests whether
value in display
is greater than 0, so loop will
continue when nnnnn has
reached 0 but display still only
shows 1.0.
t
0
011- 22 0
|
n
012- 43 32

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 15c Collector's Edition and is the answer not in the manual?

HP 15c Collector's Edition Specifications

General IconGeneral
BrandHP
Model15c Collector's Edition
CategoryCalculator
LanguageEnglish

Related product manuals