Imagine that you want to mail a small gift, a ring or a watch, to a friend in another city. You go to the post office with your tiny package. “Sorry sir, you have to ship it across country in one of our mailing cartons. You see, we like to keep everything uniform and so, all our shipping cartons are the same size—We wont ship any other way.” He then gives you a carton big enough to hold 14 elephants plus 13 grand pianos plus 12 drummers drumming plus eleven lords-a-leaping…etc.
Fantastic scenario? Could never happen? Wrong! It happens every time you SAVE or LOAD data in Tom Woods‘ Pro/file program. You see his “shipping carton” is D$, a single string 28000 bytes long, that acts as a container for your data. Even if you only have 50 bytes of data in that string, you are forced to SAVE and LOAD all 28000 bytes, most of which is empty space. It takes a long time for the 2068 to process 28 Kilobytes.
The solution to your mailing problem would be to hire a messenger to deliver a package that is only as big as the stuff you are sending. On the LIST DATABASE, a program that I have adapted from Pro/file, that “messenger” is XFER.
XFER is a routine witten by me and Martin Brennan. In esscence, it looks at D$, slices off the empty spaces and just delivers the data, thus ending one of Pro/file’s biggest headaches.
Data can be loaded into the program by way of XFER, only if it has previously been saved by the XFER routine. XFER uses the keyword ” OUT ” to save data. Data saved this way can be loaded into the empty database using the keyword “IN “.
Some of you may not be familiar with how to use Pro/file. So here I think it might be wise to tell you how to SAVE and LOAD the regular way (without the aid of XFER). To SAVE: When you are at the menu, type in the letters S,A,V, and E. To LOAD: you must type in the letters L,O,A, and D. Pro/file does not use the keywords for these commands. You do have a choice with the LIST DATABASE. You may save or load data the XFER way or the regular SAVE/LOAD way of Pro/file.
I have prepared a tape which I am submitting to LIST by way of the blank cassette that was enclosed with LIST TAPE 4. I will also submit a copy at the next meeting (if I get a ride). In either case this program should be in your hands by LIST TAPE 5 or LIST TAPE 6 at the latest.
On this tape are 3 programs. 1. “LIST DATABASE”(empty), 2. “L/DATA” (data saved the regular way) 3. “SHORT” (same data but saved with XFER). First load the empty data base. (Stop the tape when you see the prompt, DATE? ” “). Put in the present date (no more than 8 characters). Press ENTER. Now you get, TIME? ” “. Type in the present time (no more than 4 characters). Press ENTER. You get 3 options. “C” – CREATE a file (Use this only if you want to start from scratch with an empty database), “L” – LOAD a file (Use this only if you are going to load in data that was saved the regular way. L/DATA is such a program), “X” – for XFER (Use this option only if you have XFER data that has been saved with the keyword “OUT”. “SHORT” is an example of this type of data).
I hope that this is enough to start you. Any problems or questions about how to use the DATABASE or Pro/file programs please call me at [phone number omitted] or write MYLES COHEN, [address omitted]
GOOD LUCK
* LIST DATABASE *
A VERSION OF PRO/FILE
© 1984 By THOMAS B. WOODS
Adapted by
MYLES C. COHEN
[phone number omitted]
[Feel free to call me if you
have any questions]
LOADING Please wait
+--------------------------------------+
| LIST/DATABASE 5 JAN 86:1434 |
| |
| Separate MULTI-WORD |
| command words with the |
| token "AND" |
+--------------------------------------+
OPEN: 28000 bytes
FILE: EMPTY
ORDER: 0
FORMAT: ALL
Type "A" to ADD files
"SAVE" or "LOAD" for tape
"AUTO" for AUTOSEARCH
"DEFP" changes PRINT format
"NN" to change FILE name
"RST" to CLEAR file
" OUT " for XFER
"IN " for XFER