HP 15C Manuel d'utilisateur Page 114

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 288
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 113
114 Section 10: The Index Register and Loop Control
Keystrokes
Display
15 O
V ´ A
-15.0000
Branch line number.
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
´CLEAR M
´ b B
9
nnnnn = 9. Therefore, xxx = 0 and by default yy
= 1 (yy cannot be zero).
O V
´ b 0
´ V
l V
´ ©
Displays current value of nnnnn.
´ e V
Value in R
I
is decremented and tested. Skip a line
if nnnnn test value.
t 0
Continue loop if nnnnn > test value (0).
| T 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
| n
Vue de la page 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 287 288

Commentaires sur ces manuels

Pas de commentaire