home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
SAMPLE02.ZIP
/
CALEPSON.DOC
< prev
next >
Wrap
Text File
|
1983-02-24
|
2KB
|
36 lines
CALEPSON.BAS, by Michael W. Csontos 2/13/83
The few lines of code in the file CALEPSON.BAS are modifications to
the program CALENDAR.BAS which was supplied on the IBM DOS 1.0 and 1.1
disks as part of the SAMPLES series.
IBM naturally wrote (or probably rewrote) the program to match their
printer ROM. This means that with the standard EPSON printer you get
a mess of italic characters instead of the line borders for the calendar
outlines. This "program" replaces the lines of code in the IBM file that
specify the special characters for the borders of the calendars. In fact
it looks as if the IBM ROM didn't have all of the necessary characters
for the corners so their program left most of them open. Therefore
you should get better looking calendars with this modification and the
EPSON printer than with the original program and an IBM printer. That
is why I think the program was written before the IBM ROM was available.
The version of CALENDAR distributed with DOS 1.0 (at least the one I got.)
had a simple error that prevented it from printing correct leap year
calendars. This modification also corrects that.
To use these modifications, be sure that CALEPSON is stored in ASCII form
on the disk (if you can read it with a DOS [TYPE] command, it is). Then
load BASIC or BASICA, and load CALENDAR.BAS from a DOS disk. Now type
MERGE "CALEPSON.BAS" (I'm leaving it to you to keep your disks and drives
sorted out). Now you have a modified version of CALENDAR in memory and
can print calendars on an EPSON printer.
If you decide to save the modified version I recommend that you save it
under another name on a non-DOS disk to prevent confusion in the future.
I don't know what the copyright status is of the modified program but it
is hard to imagine a problem distributing the few original lines of code
so it is probably best to keep them separate and use MERGE when you want
calendars.