home *** CD-ROM | disk | FTP | other *** search
- LIST/LOG.DOC for LIST/LOG.LBR
- March 86 p.p.p.
-
-
-
- LIST/LOG.LBR contains two MBASIC programs which are
- used to create and manipulate lists of records.
-
-
- 1. LIST/LOG.BAS creates records of two fields.
-
- A. Field 1 can be up to 18 characters
- long and cannot contain commas.
-
-
- B. Field 2 can be up to 55 characters
- long and may contain commas.
-
-
- Note: Both fields may be longer except in that case,
- the record will occupy more than one line when
- printed.
-
-
- The list can be searched, sorted, saved and edited.
- The program is menu driven for ease of operation.
- See the following, LIST DOCUMENTATION, for details.
-
-
-
- 2. HAMLOG.BAS works very much like LIST/LOG but is
- designed specifically for keeping an Amateur Radio
- log. Fields are provided for Call sign, RST, Time
- and comments. A duplicate check is included for
- contests. See HAMLOG.DOC for details.
-
-
- HISTORY:
- These programs are patterned after CONTEST.BAS by
- W0XI which was modified by KA5OIT and called
- SUPERDUP.BAS.
-
-
- LIST/LOG DOCUMENTATION
-
- Documentation for LIST/LOG.BAS, an MBASIC program
- March 86 P.P.P.
-
-
- Purpose:
- LIST/LOG.BAS is a program used to create and
- manipulate lists of records containing two fields.
- An example would be a list containing a name field
- and an address field. Field one is eighteen
- characters long and cannot contain commas. Field two
- is fifty-five characters long and can contain
- commas but cannot contain parenthesis. Both fields
- can be longer but in that case the record will
- occupy more than one line when printed.
-
-
- Operation:
- When entered, the fields are combined into a record
- in the log which can be viewed, edited, searched,
- saved and erased. Logs can also be loaded from disk.
- Operation is menu driven but a few comments are in
- order.
-
-
- When the program is run it starts in the create
- mode. You may enter M to get to the main menu
- or D to toggle the Duplicate Check on and off.
- Otherwise enter field one and field two when
- prompted.
-
-
- The following operations are available from the main
- menu:
-
-
- 1. - CREATE LOG (just described)
-
- 2. - VIEW LOG
-
- 3. - EDIT LOG
- Editing in this case means re-entering the incorrect
- entry. To skip over a correct entry just hit <cr>
- and the field will remain unchanged. (At any prompt
- <cr> results in the default value.) A deleted record
- remains in the log until the log is saved to disk. A
- deleted record may be restored by editing and
- removing the delete mark, * , from field one.
-
- 4. - SORT ON FIELD 1
- Records are sorted in alphabetical order.
-
- 5. - CHANGE DISK
- If you wish to save a log to a disk other than the
- disks currently in use, hit 5 at the menu and you
- will be prompted to change disks. After changing
- disks hit any key and the disk drives will be reset.
- If you fail to do this, CPM will detect the change
- and dump you out of basic and back to the CPM
- prompt. The log in memory will be lost or at least
- difficult to recover.
-
- 6. - SEARCH FIELD 1
- Enter a string to search for. The string may be from
- one to eighteen characters. The program looks for
- the string starting from the left. For example to
- find all names beginning with An enter An at the
- prompt.
-
- 7. - SEARCH FIELD 2
-
- 8. - READ LOG FROM DISK
- Logs read in are appended to the log all ready
- in memory.
-
- 9. - WRITE LOG TO DISK
- Enter a valid CPM filename. If the filename is all
- ready on the disk it will be renamed with the
- extension .bak and a new file will be opened.
-
- 0. - EXIT TO BASIC
- Don't use ^C to end the program because the log in
- memory will be lost. Selecting 0 from the menu
- gives you a chance to change your mind and also
- resets the error checking routine so MBASIC is again
- in control.
-
- G - COLLECT GARBAGE
- When the program runs out of string space, MBASIC
- will delete old strings no longer used. This is
- called garbage collecting and can take anywhere from
- a few seconds to over a minute. By selecting G at
- the menu you can force a garbage collection at your
- leisure.
-
-
-
-
-