<:#480,9360>'ATTENTION : If you change the name of the calendar style sheet, ~calmon.sty, you must change the blue text on this page to the new name you have chosen.
<:#197,9360><:f160,2Tms Rmn,194,0,0>'WARNING : If you modify the contents in ~calmon.sty, this macro may not function properly!<:f>
<:#197,9360><:f160,2Tms Rmn,194,0,0>'WARNING: This macro is for use with "DD/MM/YY" format ONLY!
<:#197,9360><:f><:f160,2Tms Rmn,0,0,0>
<:#240,9360>FUNCTION AutoCal()
<:#240,9360>SingleStep(0)
@Remark@<:#240,9360>'Declaration of Variables
<:#240,9360>DEFSTR Month1 <:f160,2Tms Rmn,255,0,0>'This variable contains the month direct from the dialog box.<:f>
<:#240,9360>DEFSTR Year1 <:f160,2Tms Rmn,255,0,0> 'This variable contains the year direct from dialog box (YYYY).<:f>
<:#240,9360>DEFSTR LMonth <:f160,2Tms Rmn,255,0,0> 'This variable contains the calendar month in lower case.<:f>
<:#240,9360>DEFSTR NMonth <:f160,2Tms Rmn,255,0,0> 'This variable contains the month and day of Calendar Date (MM/DD/).<:f>
<:#240,9360>DEFSTR Stat1 <:f160,2Tms Rmn,255,0,0>'This variable checks for Cancel from dialog box.<:f>
<:#240,9360>DEFSTR FirstDayWeek <:f160,2Tms Rmn,255,0,0> 'This contains the Value of the day of the week the month starts on.<:f>
<:#240,9360>DEFSTR LastDay <:f160,2Tms Rmn,255,0,0>'This contains the value of the number of days in current month.<:f>
<:#240,9360>DEFSTR ChkLen <:f160,2Tms Rmn,255,0,0>'This contains the value representing the number of characters in the year that was typed in Heymon.<:f>
<:#240,9360>DEFSTR CurStyleSheet <:f160,2Tms Rmn,255,0,0>'This contains the style sheet for the current dicument<:f>
<:#240,9360>DEFSTR CurDocName <:f160,2Tms Rmn,255,0,0> 'This contains the name of the current document.<:f>
<:#240,9360>DEFSTR TotalWindows <:f160,2Tms Rmn,255,0,0>This contains the number of MDI windows open when starting macro.
@Remark@<:#240,9360>'Declaration of Functions.
<:#240,9360>DECLARE BuildDate(M,Y,N)
<:#240,9360>DECLARE FillCalendar(F,L)
<:#240,9360>DECLARE CheckLeap(M,Y,N)
<:#240,9360>DECLARE AdjustTable()
<:#240,9360>
@Changes@<:#231,9360><:f200,BArial,0,0,255>' PMM 6/2/94 Change the hardcoded date format to a date format from the win.ini