04-16-2021, 06:00 PM
04-19-2021, 12:48 PM
Hi,
For what it is worth, Hugh Kenner (PPC member #103) posted a 224-step HP67 Easter program in the PPC Journal in Volume 5 Number 4 Page 7 (May 1978).
Jake
For what it is worth, Hugh Kenner (PPC member #103) posted a 224-step HP67 Easter program in the PPC Journal in Volume 5 Number 4 Page 7 (May 1978).
Jake
04-19-2021, 02:33 PM
Here it is. Let's compare the two. Always good to see how an approach to a problem can be different.
HP67Child... your program may do things better than this one. Let's see. :-)
Gene
HP67Child... your program may do things better than this one. Let's see. :-)
Gene
05-06-2021, 11:22 AM
Hi,
The algorithm origitates from http://www.assa.org.au/edm.html#Computer
I've slightly changed the code so that you can read it more easily. E.g. I used "ENTER", "/" and "x<->y".
It works in the following way:
Write a year as a 4-digit number. Press A. The result is in the form M.DD (Month.Day) which is the Easter Sunday of the year.
Exemples:
2021
A
4.04
1967
A
3.26
2000
A
4.23
The year must be between 1583 and 4099. Otherwise the program gives -1.
HP67Child
The algorithm origitates from http://www.assa.org.au/edm.html#Computer
I've slightly changed the code so that you can read it more easily. E.g. I used "ENTER", "/" and "x<->y".
It works in the following way:
Write a year as a 4-digit number. Press A. The result is in the form M.DD (Month.Day) which is the Easter Sunday of the year.
Exemples:
2021
A
4.04
1967
A
3.26
2000
A
4.23
The year must be between 1583 and 4099. Otherwise the program gives -1.
HP67Child
05-06-2021, 11:03 PM
(05-06-2021 11:22 AM)HP67Child Wrote: [ -> ]It works in the following way: ...
Your 287-step program doesn't fit into my 224-step HP-67.
05-07-2021, 03:02 AM
05-07-2021, 06:19 AM
I do apologize.
I don't have a real HP67 (I'd love to have one), but I instead use an Android emulation that appears not to have this size limit.
I promise to try to shrink the program (if I had eough time to do the task).
The format of the code in the attached file is appropriate for you?
Once more sorry
HP67Child
I don't have a real HP67 (I'd love to have one), but I instead use an Android emulation that appears not to have this size limit.
I promise to try to shrink the program (if I had eough time to do the task).
The format of the code in the attached file is appropriate for you?
Once more sorry
HP67Child
05-07-2021, 06:27 AM
But please help me. What is the real size limit? My faint memory about a real HP67 is that the limit is 255. Am I wrong? Is the real limit 224?
Thank you
HP67Child
Thank you
HP67Child
05-07-2021, 08:29 AM
(05-07-2021 06:27 AM)HP67Child Wrote: [ -> ]But please help me. What is the real size limit? My faint memory about a real HP67 is that the limit is 255. Am I wrong? Is the real limit 224?
Yes, the physical HP-67 and HP-97 have a maximum of 224 program steps.
05-07-2021, 09:48 AM
Thank you for your answer