home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpmug
/
cpmug044.ark
/
LEDGER1.DOC
< prev
next >
Wrap
Text File
|
1984-04-29
|
2KB
|
31 lines
DOCUMENTATION ON LEDGER1
LEDGER1 is a source program in CBASIC, version 2, written by Patrick Cunning-
ham of San Antonio, Tx. It is a companion program to the entry program, BUDGET1
also written in CBASIC2. I wrote it for a 48K ALTOS ACS8000 computer with dual
8" (20 cm) floppy drives, but it will most surely work with less memory. Some
dimension statements take up considerable room in memory.
The program should be compiled with the CBASIC2 compiler, or revised to work
with whatever compiler you have on line. Then run as usual. The program
assumes that a month's records, or some fraction of a month's records, have
been entered in 64 character record lengths in the order DATE%, PAYEE$,
CATEGORY.CODE$(1), AMOUNT(1).....CATEGORY.CODE$(4),AMOUNT(4).
A few prompts are needed to start off the program. The program automatically
creates new files, given the year, as EXPnnnn.TOT where nnnn is the A.D. year.
If you merely want to get totals, but not put them on disc, you can specify
UPDATE or DISC at the appropriate prompt. You may also do more than one month
at a time.
The output can be put onto the line printer by adding LPRINTER at appropriate
places in the program. The output gives, by category, the date of payment,
payee, and individual amount. It gives a total for each category for the
month; it ends with a total of month's payments. The entire program takes
about two minutes to run.
The program is offered for non-commercial distribution. (C) copyright 1980
by Patrick Cunningham; not to be sold for profit.
The companion program that gives annual totals is ANNTOT1.