home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!cc.helsinki.fi!sinenmaa
- From: sinenmaa@cc.helsinki.fi
- Subject: a fixed object for the tyko
- Message-ID: <1993Jan5.112909.1@cc.helsinki.fi>
- Lines: 43
- Sender: news@klaava.Helsinki.FI (Uutis Ankka)
- Organization: University of Helsinki
- Date: Tue, 5 Jan 1993 09:29:09 GMT
-
-
-
- Sorry, but there is a bug in my program Tyko (v3.0 -- 3.1).
- ( a minor time error when calculating ancient times )
- So, if anybody are using it here (below) was a fixed object
- is called CADA inside Tyko-program.
-
- You can purge the old CADA or edit it to the same as this one is.
- Note that this program requires Tyko-environment to run, so this
- is useless alone.
-
- regards, kati
-
- <<===>> cut about here <<===>>
-
- %%HP: T(3)A(D)F(.);
- \<< STD 0 RND \-> J
- \<<
- IF J 4479.5 <
- THEN
- "Distant date"
- DOERR
- END J 1 + 7 /
- FP 7 * 0 RND 1 +
- DAMO SWAP GET
- IF JG SIZE 10
- ==
- THEN J 4479.5 -
- 36524.25 / IP .75 *
- 5 + IP 37 - J +
- ELSE J
- END DUP 59.25 -
- 365.25 MOD IP DUP
- 5 + 30.6 / IP 2 +
- 12 MOD 9 + DAMO
- SWAP GET SWAP .5 +
- 30.6 MOD IP 1 + "."
- + ROT 365.25 / IP
- 4712 - \->STR + + +
- STD
- \>>
- \>>
-
-