home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG023.ARC
/
ADDR.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
3KB
|
52 lines
Notes on ADDR.COM
This is a simple "address book" database program written for the Microbee.
Operation is simple and menu driven, but some documentation is in order:
* as far as I know there is only one bug - there must be at least 3 people on
file, or else the program will crash when you try to get a directory listing
(this is due to the sort algorithm).
* two files are created - PEOPLE.DAT (which contains the information you have
entered) & PEOPLE.DIR (which is the directory for PEOPLE.DAT; thus an
"indexed-sequential" method of file access is used).
* when the program is started, it loads PEOPLE.DIR into memory for the duration
of the run and written back when the Quit option is selected from the main
menu. Therefore, it is essential that Quit is selected whenever you have
finished with the program, otherwise anything you have entered will be on
file but the program won't know and things will be, well, out of kilter!
* PEOPLE.DIR remains constant in size (about 6k), but PEOPLE.DAT grows up to
about 70k (I haven't tested the program to capacity!).
* PEOPLE.DAT doesn't necessarily grow in size every time another record is
entered; if at least one record has been previously deleted, those file
spaces will be filled until a new record HAS to go on the end of the file.
Deletion of a record only sets a flag in the directory, so if you know the
key for the deleted record, you may be able to recover it using the Restore
option from the main menu.
* up to 256 people may be stored on file (theoretically; if anyone has the time
to test the program at its limit, please let me know by leaving a message for
me on the MBUG BBS). The program performs as expected with 151 people on
file, so it should be all right with 256...
* no backup files are created (amendment of records is done in-situ), so if you
want backups, Quit the program and copy them (PEOPLE.DAT & PEOPLE.DIR) to a
backup disk.
* if anyone uses the program frequently with more than, say, 50 people on file
and does a lot of deletions, additions, etc (in other words, gives the
program a good work-out which I haven't got time for!), please leave a
message for me on the MBUG BBS telling me how it goes, any bugs, crashes,
etc. If it performs well, I may be brave enough to take out the
range-checking (which will make the program smaller and faster)!!
* as I said previously, I know of only one bug - so watch out!! But this
program would only be used for storing the details of a decent number of
people, so you may never encounter this bug - I've been using this program
for 6 months without any problems...
Eric Reaburn 9 July 1986 MBUG member #1027