50941
94
Zoom out
Zoom in
Previous page
1/218
Next page
94 Section 8: Programming Basics
For example, assuming the calculator is still in Program mode, you can set it to
program line 000 as follows:
Executing a Program One Line at a Time
Pressing Ê repeatedly with the calculator in Program mode (as described
earlier) enables you to verify that the program you have stored is identical to the
program you wrote – that is, to verify that you have keyed the instructions in
correctly. However, this does not ensure that the program you wrote calculates
the desired results correctly: even programs created by the most experienced
programmers often do not work correctly when they are first written.
To help you verify that your program works correctly, you can execute the
program one line at a time, using the Ê key. Pressing Ê while the calculator
is in Run mode advances the calculator to the next line in program memory, then
displays that line’s number and the keycode of the instruction stored there, just as
in Program mode. In Run mode, however, when the Ê key is released the
instruction in the program line just displayed is executed and the display then
shows the result of executing that line.
For example, to execute the program stored in the calculator one line at a time:
Keystrokes Display
gi.000
000,
Program line 000
Keystrokes
(RPN mode)
Display
fs
124.25
Sets calculator to Run mode and
to line 000 in program memory.
(Display shown assumes results
remain from previous
calculation.)
625
625.
Keys in price of typewriter.
Ê
001, 36
Program line 001: \
625.00
Result of executing program line
001.
Ê
002, 2
Program line 002: 2.
2.
Result of executing program line
002.
Ê
003, 5
Program line 003: 5.
25.
Result of executing program line
003.
Ê
004, 25
Program line 004: b
94


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for HP HP-12c at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of HP HP-12c in the language / languages: English as an attachment in your email.

The manual is 1,87 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info