(42S) HP 67 Calendar Functions (Standard Pac)
|
01-05-2020, 03:43 AM
Post: #1
|
|||
|
|||
(42S) HP 67 Calendar Functions (Standard Pac)
This is a pretty straight conversion of the Calendar Functions program included in the HP 67 Standard Pac. I've only made a few changes to it in the conversion:
1. Added a nice 42S menu to replicate the key labels on the card. 2. Replaced registers A, I, and C with 00, 01, and 02 respectively. 3. Replaced some 67 idioms with their 42S counterparts (F? 3 to FS?C 22, STOi to STO IND 01, etc.). 4. Replaced usage of divide-FRAC-multiply with the MOD operator to eliminate rounding error. This also eliminated the need for LBL E to call LBL 3, and the LBL 3 step was removed. Usage For more detailed instructions and examples, see the HP 67 Standard Pac, page 04-01. Here's the basics: DT1: Date 1 DT2: Date 2 DAYS: Days (number of days between DT1 and DT2) W.D: Weeks + Days (numbers of weeks and days between DT1 and DT2, in W.D format) DT1, DT2, DAYS, and W.D act as both inputs and outputs. To input a value, enter it in X, and press the appropriate key. To calculate a value, press the key without entering any data. After entering any two of these values (but only one of either DAYS or W.D), you can calculate the other two values. →DOW works independently. Enter a date into X, and press the →DOW key to calculate the day of the week. 0=Sunday, 1=Monday, 6=Saturday. All dates are entered in MM.DDYYYY format, and this program is accurate for dates between March 1, 1900 and February 28, 2100. Code: 00 { 294-Byte Prgm } DATE67.zip (Size: 435 bytes / Downloads: 10) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)