Post Reply 
HP 12C Basic Programming
09-11-2024, 10:43 AM (This post was last modified: 09-11-2024 10:46 AM by Nihotte(lma).)
Post: #5
RE: HP 12C Basic Programming


Hello everyone,

I would also like to add a little programming tip that has often been useful for the HP12C Platinum and its large memory:

I establish a small summary at the start of the program area
which allows me to jump to the correct program line depending on the choice I make.

This gives this for the solution provided by Steve Simpkin:

Code:

01 g, GTO 04
02 g, GTO 10
03 g, GTO 16
04 X
05 1
06 0
07 0
08 +
09 g, GTO 00
10 /
11 1
12 0
13 0
14 -
15 g, GTO 00
16 +
17 5
18 /
19 g, GTO 00

Afterwards,
- to launch program #1, I use the GTO 01 R/S
- to launch program #2, I use the GTO 02 R/S
- to launch program #3, I use the GTO 03 R/S

This allows several programs to coexist in the calculator's memory and to call them as needed, as long as we remember their order of presence in memory.

Keep yourself healthy!

Laurent
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 12C Basic Programming - avsebastian - 09-09-2024, 02:51 AM
RE: HP 12C Basic Programming - C.Ret - 09-09-2024, 06:53 AM
RE: HP 12C Basic Programming - avsebastian - 09-11-2024, 01:31 AM
RE: HP 12C Basic Programming - Nihotte(lma) - 09-11-2024 10:43 AM



User(s) browsing this thread: 2 Guest(s)