Post Reply 
My 1st HP-41 program. Suggestions?
10-20-2023, 12:00 AM
Post: #8
RE: My 1st HP-41 program. Suggestions?
(10-19-2023 12:17 PM)Jeff_Birt Wrote:  Yes, thanks. This was the sort of feedback I was hoping for.

You're welcome. Since you liked my suggestion, here's another one for you:

Your 6-line code in bold red below ...
    [...]
    INT
    LBL 01
    RCL 01
    1
    +
    STO 01 ; Increment the guess counter
    RDROP ; Keep Rand # in Y

    "Guess 1-10"

    [...]
... can be replaced by this 3-line code
    LBL 01
    ISG 01
    LBL 01
for a net savings of 3 lines (50%).

Regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: My 1st HP-41 program. Suggestions? - Valentin Albillo - 10-20-2023 12:00 AM



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