home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 440.lha / CheckDate_v1.0 / CheckDate.doc < prev    next >
Encoding:
Text File  |  1990-11-13  |  3.7 KB  |  108 lines

  1.                                  CheckDate V1.0
  2.  
  3.                                 Copyright © 1990
  4.  
  5.                            Written by Michael Jaecks
  6.  
  7.  
  8. Introduction
  9. ------------
  10.  
  11.      I just started programming in "C" at college and wanted to try my hand
  12. at programming on my Amiga 500.  A while back I had thought of trying to
  13. write a program that would remind me of important dates.  Sure, I could use
  14. a simple calendar program, but I wanted something I could stick in my
  15. startup that would automatically remind.  Well, here is something that I hope
  16. will help me as well as you.
  17.  
  18. About
  19. -----
  20.  
  21.      CheckDate is a simple program that checks for a file in your "S:"
  22. directory that corresponds to the current date.  The file's name is in the
  23. form "dd-mmm-yy".  Therefore, CheckDate obtains the current date from the
  24. computer and discards the day's name and time.  The file in the "S:"
  25. directory, hereby known as the info. file, contains text pertaining to
  26. important events for that particular date.
  27.      For example, let us say you have some important reminders in a info.
  28. file entitled "05-Jun-90".  Then on June 5, 1990, CheckDate will display the
  29. reminders for you.  Please remember to include the leading "0" on the day if
  30. we are talking about a day less than 10.
  31.  
  32. Technical
  33. ---------
  34.  
  35.      CheckDate works best if it is placed in your "Startup-Sequence" file.  I
  36. would suggest placing it after your initializing of the current date.  In
  37. most cases, this would be after "SETCLOCK OPT LOAD".
  38.      For activating CheckDate, simply execute:
  39.  
  40.      CheckDate
  41.  
  42. or
  43.  
  44.      CheckDate -d.
  45.  
  46. The first command will simply check for a info. file.  The second command
  47. will also check for an info. file, but will delete the file after displaying
  48. it, thus "-d" for delete.  Any other variations will display the usage of
  49. CheckDate.
  50.      CheckDate uses some system commands to supplement its execution.  You
  51. will need to have "TYPE" and "DELETE" in your "C" directory.  If a info. file
  52. is found, then it will be displayed via the "TYPE" command.  If you specify
  53. the "-d" option, then the info. file will be deleted via the "DELETE"
  54. command.  Remember, I'm just beginning in "C" programming, so I've tried to
  55. let other programs handle these tasks.  Also, a temporary file is created
  56. in "RAM:" via redirection.
  57.      The only thing that is left up to you is to create the info. file(s).
  58.  
  59. Programming
  60. -----------
  61.  
  62.      I compiled CheckDate with a Public Domain "C" compiler environment known
  63. as "NORTH C", so you may notice that it runs slowly, especially when printing
  64. the usage text.
  65.  
  66. Program Status
  67. --------------
  68.  
  69.      This program is released in the Public Domain.  It may be freely
  70. redistributed.  Please do not charge anything for the program other than the
  71. costs of the media that it may be transported on.
  72.  
  73. Questions, Problems, Flames
  74. ---------------------------
  75.  
  76.      I can be contacted at the following address:
  77.  
  78.      Michael Jaecks
  79.      1415 Park Avenue
  80.      Alamogordo, NM  88310
  81.      (505) 434-1811
  82.  
  83. or on the college internet/usenet at:
  84.  
  85.      mjaecks@nmsu.edu
  86.  
  87. or finally at one of the following Bulletin Board Systems:
  88.  
  89.      New Horizons   308/40  (505) 437-9117  7 pm - 9 am
  90.      Kustom-Kastle  308/80  (505) 434-0701  24 hrs.
  91.      Last Days BBS  308/90  (505) 437-6003  24 hrs.
  92.  
  93. The Future
  94. ----------
  95.  
  96.      If enough people inquire about the program, or at least one person, I
  97. will try to implement the following for the next version:
  98.  
  99.      - Specify your own date format
  100.      - Specify where your info. files are located
  101.      - Use some other text viewer besides "TYPE", like "MORE"
  102.  
  103.  
  104. Thanks for using the program...Mike
  105.  
  106. P.S.  PLEASE REMEMBER I AM REFERRING TO INFORMATION FILES AS INFO. FILES, SO
  107.       DO NOT GET THEM CONFUSED WITH ICONIZED .INFO FILES.
  108.