Post Reply 
(HP67 app) Pricing Calculation with known Markup for new Price comparison.
02-09-2018, 08:35 AM (This post was last modified: 02-09-2018 09:06 AM by Dieter.)
Post: #10
RE: (HP67 app) Pricing Calculation with known Markup for new Price comparison.
(02-09-2018 08:14 AM)Gamo Wrote:  Hello Dieter
I try to adapt this program for HP-11C and still not working.
Can you provide this program for 11C ?

Of course it will not work on any calculator other than the 67 or 97.
With a minor change (replace flag 3 with flag 22) it probably also runs on the HP41. But on no other device.

This program uses a special feature of the 67/97: if you enter a number this automatically sets flag 3. So the program can check whether you want to enter a value or have it calculated. Also the flag test F?3 automatically clears this flags after testing.

Since the 11C does not provide a number entry flag there is no way to adapt this program for that calculator. The program may be changed so that it assumes data entry if x is not equal to zero, which should be no problem as the program assumes "no data given" if a value is 0. If this is OK the program version in post #7 can be changed for use with the 11C:

- Delete the CF 3 in line 010.
- Replace all F3? tests with x≠0?.

Then try again if it works.
Remember: if you now want to calculate a value, enter 0 and press the respective label key [A]...[D].
So in the first example you would press 0 [C] and 0 [D] to get markup and margin.

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


Messages In This Thread
RE: (HP67 app) Pricing Calculation with known Markup for new Price comparison. - Dieter - 02-09-2018 08:35 AM



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