12C vs 11C program, 11C not working
12-16-2018, 03:07 PM (This post was last modified: 12-16-2018 07:47 PM by calcphil12c11c.)
Post: #1
 calcphil12c11c Junior Member Posts: 12 Joined: Dec 2018
12C vs 11C program, 11C not working
Hello this is my first post here. Have a program that convert Liters to Gallons and displays this as a negative number all the time. This works on my 12C.

I downloaded the 11C app from RLM tools and this is great. I changed the 11C program to have LBL instead of GTO's and it does not work the same. Here are the programs.

HP 12 C

01 ENTER
02 3
03 .
04 7
05 8
06 STO 1
07 X
08 CHS
09 R/S
10 0
11 X exchange Y
12 g X less than or equal Y
13 CHS
14 RCL 1
15 g GTO 07

HP 11C

01 f LBL A
02 ENTER
03 3
04 .
05 7
06 8
07 STO 1
08 f LBL E
09 X
10 CHS
11 R/S
12 0
13 X exchange Y
14 f X less than or equal Y
15 CHS
16 RCL 1
17 GTO E

The 12C program works just fine. GTO 00 and input a number, convert to liters and display a negative liters. Input new number press R/S. The answer is checked to be negative and if yes just keep it negative.

The other program converts Gallons to Liters and shows a positive number all the time just remove line 8 (for 12C) or line 10 (for 11C) along with a new constant in STO 1.

Again, the 12C program works, the 11C program does not.

Same code, just change the GTO's to LBL and GTO.

What am I missing?
 « Next Oldest | Next Newest »

 Messages In This Thread 12C vs 11C program, 11C not working - calcphil12c11c - 12-16-2018 03:07 PM RE: 12C vs 11C program, 11C not working - Dieter - 12-16-2018, 10:03 PM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 12-16-2018, 11:31 PM RE: 12C vs 11C program, 11C not working - Dieter - 12-17-2018, 08:39 AM RE: 12C vs 11C program, 11C not working - Thomas Klemm - 12-17-2018, 05:11 AM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 12-17-2018, 12:13 PM RE: 12C vs 11C program, 11C not working - Dieter - 12-17-2018, 07:42 PM RE: 12C vs 11C program, 11C not working - ijabbott - 12-17-2018, 08:38 AM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 12-17-2018, 09:04 PM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 12-17-2018, 11:59 PM RE: 12C vs 11C program, 11C not working - Dieter - 12-18-2018, 08:50 AM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 12-18-2018, 11:55 AM RE: 12C vs 11C program, 11C not working - calcphil12c11c - 01-09-2019, 04:19 AM

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