Category : Files from Magazines
Archive   : ITP9004.ZIP
Filename : CALTEST.PAS
USES DOS,CRT,CalUnit;
VAR
MyCalendar: Calendar;
TYear,TMonth,Tday,TDOW: Word;
BEGIN
ClrScr;
GetDate(TYear,TMonth,Tday,TDOW);
WITH MyCalendar DO
BEGIN
WriteLn(' Current Month''s Calendar');
WriteLn;
Init(TMonth, TYear);
WHILE (TMonth <> 0) DO
BEGIN
WriteLn;
WriteLn(' Enter a Month and Year');
WriteLn('(Separate values by a space)');
WriteLn;
WriteLn(' exm. 3 1990');
WriteLn;
Write (' or 0 0 to quit: ');
ReadLn(TMonth, TYear);
IF TMonth <> 0 THEN
BEGIN
ClrScr;
SetYear(TYear);
SetMonth(TMonth);
DrawCalendar
END
END
END;
ClrScr
END.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/