RPL second impressions (HP 28)
06-27-2018, 01:19 AM (This post was last modified: 06-27-2018 01:44 AM by mdunn.)
Post: #1
 mdunn Junior Member Posts: 25 Joined: Apr 2018
RPL second impressions (HP 28)
Just a few thoughts after having gone through the HP28 manuals... No need to answer...unless you really want to ;-) Probably best to figure out some things myself.

1. The manuals could be worse, but IMHO, could be a lot better too. Does anyone have, say, a one-page cheat sheet of high-level best practices and such?

2. For my first program of note, I'm attempting to translate an HP15 program I wrote a LONG time ago that generates prime numbers (based I think on an SR56 program, which in turn was based, I think, on a BASIC program). It ain't easy converting spaghetti to pure "structured" code...phew!

3. Wonder if IF..THENs can be nested...

4. I find the multiple ways of writing things a tad confusing (RPN, algebraic, etc?).
Here's just one example from my Primes thingy:

pseudocode:
IF FRAC(a/b)==0 THEN ...

Translates, I think, to something like:

RPN:
IF a b / FP 0 == THEN ... END
tho I guess this would be even MORE RPNish:
a b / FP 0 == IF THEN ... END
or:
a b / FP 0 IF == THEN ... END
:-)

Algebraic:
IF 'FP(a/b)==0' EVAL THEN ... END
THAT one took a while to figure out!

Other (better?) ways?
 « Next Oldest | Next Newest »

 Messages In This Thread RPL second impressions (HP 28) - mdunn - 06-27-2018 01:19 AM RE: RPL second impressions (HP 28) - Carsen - 06-27-2018, 01:54 AM RE: RPL second impressions (HP 28) - Steve Simpkin - 06-27-2018, 03:04 AM RE: RPL second impressions (HP 28) - John Keith - 06-27-2018, 02:02 PM RE: RPL second impressions (HP 28) - DavidM - 06-27-2018, 03:08 AM RE: RPL second impressions (HP 28) - Joe Horn - 06-27-2018, 03:41 AM RE: RPL second impressions (HP 28) - Paul Dale - 06-27-2018, 06:34 AM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-27-2018, 09:00 AM RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 01:58 PM RE: RPL second impressions (HP 28) - Jlouis - 06-27-2018, 02:50 PM RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 04:06 PM RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 05:11 PM RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 07:45 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-27-2018, 07:48 PM RE: RPL second impressions (HP 28) - mdunn - 06-28-2018, 08:48 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-28-2018, 09:43 PM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 06-29-2018, 01:08 PM RE: RPL second impressions (HP 28) - Thomas Okken - 06-29-2018, 02:49 PM RE: RPL second impressions (HP 28) - BartDB - 06-29-2018, 04:59 PM RE: RPL second impressions (HP 28) - Valentin Albillo - 06-29-2018, 11:32 PM RE: RPL second impressions (HP 28) - pier4r - 06-30-2018, 11:16 AM RE: RPL second impressions (HP 28) - Valentin Albillo - 06-30-2018, 11:35 PM RE: RPL second impressions (HP 28) - Claudio L. - 07-01-2018, 06:39 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-29-2018, 05:13 PM RE: RPL second impressions (HP 28) - Thomas Okken - 06-29-2018, 07:14 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018, 01:20 AM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 06-29-2018, 07:35 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018, 02:14 AM RE: RPL second impressions (HP 28) - John Keith - 06-30-2018, 02:16 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018, 03:32 AM RE: RPL second impressions (HP 28) - Valentin Albillo - 07-01-2018, 09:04 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018, 07:27 AM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 06-30-2018, 02:37 PM RE: RPL second impressions (HP 28) - RMollov - 06-30-2018, 10:20 AM RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018, 03:04 PM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 06-30-2018, 03:32 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 03:49 AM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 07-01-2018, 12:41 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 08:26 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 08:51 PM RE: RPL second impressions (HP 28) - DavidM - 07-01-2018, 10:46 PM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 07-01-2018, 11:09 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 09:26 PM RE: RPL second impressions (HP 28) - Valentin Albillo - 07-01-2018, 09:54 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 10:35 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 11:13 PM RE: RPL second impressions (HP 28) - DavidM - 07-01-2018, 11:34 PM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 07-01-2018, 11:40 PM RE: RPL second impressions (HP 28) - DavidM - 07-02-2018, 12:16 AM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018, 11:39 PM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 07-02-2018, 12:05 AM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-02-2018, 01:22 AM RE: RPL second impressions (HP 28) - Gerson W. Barbosa - 07-02-2018, 02:23 AM RE: RPL second impressions (HP 28) - pier4r - 07-02-2018, 03:41 PM RE: RPL second impressions (HP 28) - Valentin Albillo - 07-02-2018, 07:20 PM RE: RPL second impressions (HP 28) - rprosperi - 07-02-2018, 11:11 PM RE: RPL second impressions (HP 28) - pier4r - 07-04-2018, 10:22 AM RE: RPL second impressions (HP 28) - Valentin Albillo - 07-04-2018, 10:10 PM RE: RPL second impressions (HP 28) - RMollov - 07-12-2018, 11:01 AM RE: RPL second impressions (HP 28) - ttw - 07-04-2018, 10:52 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-09-2018, 03:24 PM RE: RPL second impressions (HP 28) - pier4r - 07-11-2018, 11:22 AM RE: RPL second impressions (HP 28) - Thomas Klemm - 07-14-2018, 12:59 PM RE: RPL second impressions (HP 28) - Thomas Klemm - 05-27-2022, 06:07 PM RE: RPL second impressions (HP 28) - rprosperi - 05-27-2022, 07:38 PM RE: RPL second impressions (HP 28) - Didier Lachieze - 05-28-2022, 05:38 AM RE: RPL second impressions (HP 28) - J-F Garnier - 05-28-2022, 09:35 AM

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