home *** CD-ROM | disk | FTP | other *** search
- CheckDate V1.0
-
- Copyright © 1990
-
- Written by Michael Jaecks
-
-
- Introduction
- ------------
-
- I just started programming in "C" at college and wanted to try my hand
- at programming on my Amiga 500. A while back I had thought of trying to
- write a program that would remind me of important dates. Sure, I could use
- a simple calendar program, but I wanted something I could stick in my
- startup that would automatically remind. Well, here is something that I hope
- will help me as well as you.
-
- About
- -----
-
- CheckDate is a simple program that checks for a file in your "S:"
- directory that corresponds to the current date. The file's name is in the
- form "dd-mmm-yy". Therefore, CheckDate obtains the current date from the
- computer and discards the day's name and time. The file in the "S:"
- directory, hereby known as the info. file, contains text pertaining to
- important events for that particular date.
- For example, let us say you have some important reminders in a info.
- file entitled "05-Jun-90". Then on June 5, 1990, CheckDate will display the
- reminders for you. Please remember to include the leading "0" on the day if
- we are talking about a day less than 10.
-
- Technical
- ---------
-
- CheckDate works best if it is placed in your "Startup-Sequence" file. I
- would suggest placing it after your initializing of the current date. In
- most cases, this would be after "SETCLOCK OPT LOAD".
- For activating CheckDate, simply execute:
-
- CheckDate
-
- or
-
- CheckDate -d.
-
- The first command will simply check for a info. file. The second command
- will also check for an info. file, but will delete the file after displaying
- it, thus "-d" for delete. Any other variations will display the usage of
- CheckDate.
- CheckDate uses some system commands to supplement its execution. You
- will need to have "TYPE" and "DELETE" in your "C" directory. If a info. file
- is found, then it will be displayed via the "TYPE" command. If you specify
- the "-d" option, then the info. file will be deleted via the "DELETE"
- command. Remember, I'm just beginning in "C" programming, so I've tried to
- let other programs handle these tasks. Also, a temporary file is created
- in "RAM:" via redirection.
- The only thing that is left up to you is to create the info. file(s).
-
- Programming
- -----------
-
- I compiled CheckDate with a Public Domain "C" compiler environment known
- as "NORTH C", so you may notice that it runs slowly, especially when printing
- the usage text.
-
- Program Status
- --------------
-
- This program is released in the Public Domain. It may be freely
- redistributed. Please do not charge anything for the program other than the
- costs of the media that it may be transported on.
-
- Questions, Problems, Flames
- ---------------------------
-
- I can be contacted at the following address:
-
- Michael Jaecks
- 1415 Park Avenue
- Alamogordo, NM 88310
- (505) 434-1811
-
- or on the college internet/usenet at:
-
- mjaecks@nmsu.edu
-
- or finally at one of the following Bulletin Board Systems:
-
- New Horizons 308/40 (505) 437-9117 7 pm - 9 am
- Kustom-Kastle 308/80 (505) 434-0701 24 hrs.
- Last Days BBS 308/90 (505) 437-6003 24 hrs.
-
- The Future
- ----------
-
- If enough people inquire about the program, or at least one person, I
- will try to implement the following for the next version:
-
- - Specify your own date format
- - Specify where your info. files are located
- - Use some other text viewer besides "TYPE", like "MORE"
-
-
- Thanks for using the program...Mike
-
- P.S. PLEASE REMEMBER I AM REFERRING TO INFORMATION FILES AS INFO. FILES, SO
- DO NOT GET THEM CONFUSED WITH ICONIZED .INFO FILES.
-