CALENDAR.txt

   There are two Calendar programs in this self extracting file:

       CALENDAR.prg     and    CALENDR2.prg

   Both programs print a calendar based on a date.

 CALENDAR.PRG

   The program is a perpetual calendar program that will start with
   a date (xDATE) and will print a calendar in a window named CALWIN.
   The window coordinates can be passed by creating two variables
   X and Y and giving the the top left coordinates of the window.
   It will also display a shadow unless you are already in a window
   before starting this program [the lack of a shadow is due to the
   possibility that the coordinates of the shadow may be beyond the
   parameters of the existing window].  After it is displayed it will
   wait for the user to press one of several keys to either leave the
   program or change the MONTH/YEAR of the displayed calendar.

   Directions for use:

   (1) To leave the program simply press the Escape key.

   (2) To see
          - the previous month, press the left arrow key
          - the next month, press the right arrow key
          - the previous Year, press the Page Down key
          - the next Year, press the Page Up key

          - a specific calendar (MONTH and YEAR), press the HOME key
            and then enter a valid date.  If no date is entered, the
            systems date will be used.

   (3) The program will return the original contents of the X,Y and
       xDATE variables back to the calling program.  As well as the
       original colors of the system.

   The program appears to be bullet proof (subject to being made a
   liar by some user).  Have fun and report any problems to me.

 CALENDR2.PRG

   This program will display the current month only and uses dBASE IV
   array elements.  It is fairly straight forward and appears to be
   very fast.  Use it, abuse it, make recommendations.


           Happy calendaring  ... Michael R. Irwin


