Post Reply 
Raw files for these HP 67 program listings ?
09-07-2016, 06:51 PM (This post was last modified: 09-07-2016 08:43 PM by Dieter.)
Post: #50
RE: Raw files for these HP 67 program listings ?
(09-07-2016 02:22 PM)RobertM Wrote:  [ ...240 bytes... ]
I give up! Nice work!

Don't give up, join the party. ;-)
I now got it down to 206 bytes in 135 steps.

The program essentially has two routines that generate a three digit number. One at the beginning and another one at LBL 03 that checks for holds. This can be combined into one single routine.

I also wondered why the counter in R00 is decremented only if no holds are active. I am not sure if this is a bug or a feature, but the attached version now decrements the counter in both cases. Also the random number generator was modifed. Gene's suggestions were implemented as well.

Robert et al., would you try this and check for bugs and unexpected results?

Dieter

.zip  OAB2.zip (Size: 983 bytes / Downloads: 4)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Raw files for these HP 67 program listings ? - Dieter - 09-07-2016 06:51 PM



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