HP HP12C hp 12c_user's guide_English_E_HDPMBF12E44.pdf - Page 102

Keystrokes, Display, Error, Stopping Program Execution Manually.

Page 102 highlights

102 Section 8: Programming Basics Keystrokes 24\85 t t t 5\345 t t t :1 :2 :3 Display 85. 2,040.00 137.70 2,177.70 345. 1,725.00 116.44 1,841.44 5,967.70 402.82 6,370.52 Third item. AMOUNT for third item. TAX for third item. TOTAL for third item. Fourth item. AMOUNT for fourth item. TAX for fourth item. TOTAL for fourth item. Sum of AMOUNT column. Sum of TAX column. Sum of TOTAL column. Program execution is also automatically halted when the calculator overflows (refer to page 73) or attempts an improper operation that results in an Error display. Either of these conditions signifies that the program itself probably contains an error. To determine at which program line execution has halted (in order to locate the error), press any key to clear the Error display, then press fs to set the calculator to Program mode and display that program line. You may also want to display the current program line (by pressing fs) if your program has halted at one of several t instructions in your program and you want to determine which one that is. To continue executing the program afterward: 1. Press fs to set the calculator back to Run mode. 2. If you want to resume execution from the program line at which execution halted rather than from line 00, press gi followed by two digit keys that specify the program line desired. 3. Press t to resume execution. Stopping Program Execution Manually. Pressing any key while a program is running halts program execution. You may want to do this if the calculated results displayed by a running program appear to be incorrect (indicating that the program itself is incorrect). To halt program execution during a pause in a running program (that is, when u is executed), press any key. After stopping program execution manually, you can determine at which program line execution has halted and/or resume program execution as described above. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 102 of 209 Dimension: 14.8 cm x 21 cm

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211

102 Section 8: Programming Basics
File name: hp 12c_user's guide_English_HDPMBF12E44
Page: 102 of 209
Printered Date: 2005/7/29
Dimension: 14.8 cm x 21 cm
Keystrokes
Display
24
\
85
85.
Third item.
t
2,040.00
AMOUNT for third item.
t
137.70
TAX for third item.
t
2,177.70
TOTAL for third item.
5
\
345
345.
Fourth item.
t
1,725.00
AMOUNT for fourth item.
t
116.44
TAX for fourth item.
t
1,841.44
TOTAL for fourth item.
:
1
5,967.70
Sum of AMOUNT column.
:
2
402.82
Sum of TAX column.
:
3
6,370.52
Sum of TOTAL column.
Program execution is also automatically halted when the calculator overflows (refer
to page 73) or attempts an improper operation that results in an
Error
display.
Either of these conditions signifies that the program itself probably contains an
error.
To determine at which program line execution has halted (in order to locate the
error), press any key to clear the
Error
display, then press
fs
to set the
calculator to Program mode and display that program line.
You may also want to display the current program line (by pressing
fs
) if
your program has halted at one of several
t
instructions in your program and
you want to determine which one that is. To continue executing the program
afterward:
1. Press
fs
to set the calculator back to Run mode.
2. If you want to resume execution from the program line at which execution
halted rather than from line 00, press
gi
followed by two digit keys that
specify the program line desired.
3. Press
t
to resume execution.
Stopping Program Execution Manually.
Pressing any key while a program
is running halts program execution. You may want to do this if the calculated
results displayed by a running program appear to be incorrect (indicating that the
program itself is incorrect).
To halt program execution during a pause in a running program (that is, when
u
is executed), press any key.
After stopping program execution manually, you can determine at which program
line execution has halted and/or resume program execution as described above.