home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!well!moon!cyberden!phbill
- From: phbill@cyberden.uucp
- Newsgroups: comp.sys.atari.8bit
- Subject: Clock...fixed
- Message-ID: <PL52TB5w165w@cyberden.uucp>
- Date: Tue, 10 Nov 92 20:21:00 PST
- Organization: Indescribable Creations
- Lines: 28
-
- I successfully fixed my GDesk clock. Ugh.. it was a problem with time
- advancing too much when you held down the fire/return button. So I just
- had it advance once, and wait until you release it. Also, the time was
- NOT checked when advanced manually.. That's because I had the program
- set up like this:
-
- If Sec>60 Then Sec==-60 Min==+1
- If Min>60 Then Min==-60 Hour==+1
- If Hour>12 ...
-
- etc. Not like this:
- IF Sec>60 Then Sec==-60 Min==+1 Fi
- If Min>60 Then Min==-60 Hour==+1 Fi
-
- etc. oops.. So I edited the if-fi checking of the time and stuck it in
- a place other than when the internal clock has changed (out of the "If
- Clock>1 Then Sec==+Clock ..etc." part of the procedure).
-
- Also, I fixed manual clock advancement so you can go "+" or "-" (clicking
- the left or right digit of the number).. and that's just version
- 1.0 of the clock! :) A later upgrade of it will include an alarm,
- possibly a "day of week" calculator, and (if someone gives me the code)
- might be set from the RTime8 instead of manual each time you load it..
- cool, eh!?
-
-
- --
- Bill Kendrick : PhBill@Cyberden.UUCP Currently working on GDesk
-