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
|
|||
|
|||
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 »
|
User(s) browsing this thread: 1 Guest(s)