home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug054.arc
/
ADDR2.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
5KB
|
137 lines
The MUGWA ADDRESS FILE
Very short instructions here !
Run the program from the DOS A> prompt by typing :
MBASIC ADDR <RETURN>
If no files on the selected disk, ADDR will go to the initialisation
routine. It will re-run when that is done.
the screen is set for both data entry and retrieval. Type a name...
if not in the file, you will be prompted for the address etc.
To escape from this mode without entering a record, press CTRL-K
to clear the windows.
If the name has already been entered into the file, the record will
be displayed in the windows.
If you want to EDIT, press CTRL-E
To DELETE, press CTRL-D
To move forward to the next record, press CTRL-G
To move forward 10 records, press CTRL-W
To move back one record, press CTRL-A
To move back 10 records, press CTRL-Z
To display the FIRST record, press CTRL-F
To display the LAST record, press CTRL-X
To RE-INDEX the file, press CTRL-R
To SORT, press CTRL-T
To print each displayed record, press CTRL-P (again to turn it OFF)
To print labels or address book, press CTRL-L
You can type a record number instead of a name. it will be displayed
if its valid.
If you type a '@' instead of name, the cursor will move to the
CATEGORY field. Another '@' will put it back on name.
If you type a '*', the program will end.
If you get records by category, the first match will be displayed and
you will be asked 'IS THIS THE ONE (Y/N) ?' if it is, type Y or N if
not. If you type N, the next match will be displayed, and so forth.
DELETED records are only MARKED as deleted with *** in the street field.
They get actually lost ONLY if you SORT the file, and the space is
recovered for re-use. RE-INDEXing the file does NOT remove the marked
records.
CATEGORY is set up for my work. The 8 characters have meanings as
follows :
DIGIT !! MEANING !! VALUES
POS'N !! !! used
------!!----------------------------------!!---------------------------
1 !! Transaction type !! 0 = NO RESPONSE
!! !! 1 = enquiry
!! !! 2 = purchase
!! !! 4 = contract
------!!----------------------------------!!---------------------------
2 !! computer type !! 0 = unknown or none
!! !! 1 = TRS-80 or SYSTEM-80
!! !! 2 = CP/M
!! !! 4 = IBM or clone
------!!----------------------------------!!---------------------------
3 !! peripherals !! 0 = unknown
!! !! 1 = cassette
!! !! 2 = disks
!! !! 4 = hard disk
------!!----------------------------------!!--------------------------
4 & 5!! Date (year) of transaction !! 00 - 99
------!!----------------------------------!!--------------------------
6 & 7!! item sold (if any - see above) !! 0 = none
!! !! 1 = program #1
!! !! 2 = " 2
!! !! 4 = " 3
!! !! 8 = " 4
!! !!16 = OTHER
!! !!32 = NO RECORD
------!!----------------------------------!!--------------------------
8 !! state !! 0 = NT
!! !! 1 = ACT
!! !! 2 = NSW
!! !! 3 = VIC
!! !! 4 = QLD
!! !! 5 = SA
!! !! 6 = WA
!! !! 7 = TAS
======================================================================
You can set it all up to suit yourself and your own operation
On the disk are two 'program' files.
ADDR.BAS is the actual program with practically NO COMMENTS -
it would be too big for memory if I left them in!!
ADDR.DOC is just REM lines with comments describing VERY
BRIEFLY what each line or routine is about.
LLIST both files from MBASIC. Then lay them out on the floor or a
large table so that the lines in each listing match side by side.
You will then be able to see the code that the comments are
describing.
My apologies to those of you who really need more documentation
on this program. Its really meant to teach you something, so
more docs would tend to defeat that purpose. If you read up the
7 or 8 articles (in the STING) from last year (1985) on LEARNING
MICROSOFT BASIC, you will get quite a bit more detail on some
of the routines. You will also notice that the program in those
articles started out to be somewhat different than what is here.
My further apologies to those of you who were following those
articles. I don't envisage re-starting or taking up where I
left off. This program and files is about the lot you'll get.
I stopped because I became ill, and now 9 months later,, I'm
still not fully recovered.
Try the program. Use it for a while. Make changes to suit your
own requirements.
When you've used it for a while, I'll be happy to discuss it
with you either individually or in groups. In the meantime,
have fun with it, and learn!
John Dowdall.
-------------