Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_50.ADF » V/+ADD
V/+ADD
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_50.ADF |
Filename: | V/+ADD |
Read OK: | ✔ |
File size: | 112C bytes |
Load address: | 2B204556 |
Exec address: | D444441 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- AEW website » eug » eug_3_5_discs_Eug-50_A-EUG50.adf » V/+ADD
- AEW website » eug » eug_5_25_discs_Eug-50_D-EUG50.dsd » V.+ADD
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_50.ADF » V/+ADD
File contents
ADD (ADDRESS BOOK PROGRAM) By Gus Donnachaidh I FOUND a program in a book called PRACTICAL PROGRAMS FOR THE ELECTRON by Owen Bishop and Audrey Bishop, published by Granada Publishing in 1984 for a simple database program. It was called INFO FILE. If you have a copy, you might want to compare the original with my version. I liked it because of an interesting search facility which will quickly search for single letter strings as well as multiple letter strings. I have named it PROCsearch. It is used in conjunction with PROCdisplay. It might be useful in another program. I didn't like it because of the primative program structure. Lots of GOTOs, hardly any use of PROCedures and some superfluous bits. I have made a number of major and minor changes to this program to make it work the way I wanted it to. Anyone else who thinks the same way as I do might like to try other adaptations. Extending the number of records should be fairly straightforward; simply a matter of identifying the relevant DIM statements. I think one or two which remain may be redundant. I did consider leaving in the original lines, hiding them with REM statements. However this took up a lot of memory and in any case most of these were pointless. The original program included a portion to create a data file which was then loaded when the program was re-run. This was because the prog- ram was originally written to use with tape. I started by removing this create routine and making it a separate program called CREATE. As it only needs to be used occasionally, it was just wasting space and speed. I removed most of the GOTOs, replacing these with logical jumps. I had to leave 2 in PROCinput, one was the loop controling this PROC and I didn't see any real need to change it. The other controls the delete function. More about this in a moment. There are numerous other line jumps, of the variety, IF ... THEN 550. I removed a number of these but many remain. I added a GOTO to PROCdisplay to allow for a printout of a record to be made. I reorganised the various menus and submenus and made the input routine work a little easier. I have kept the line numbers, as far as possible, the same as the original. The <DELETE> key will place a | character on the screen. This in- dicates that all the text in this field has been deleted. You can either re-type it or use the cursor and <COPY> keys to copy what you want. I tried removing this line, 1200, so that the <DELETE> key worked as normal in the input routine and the program seemed to work fairly well. However, the deleted characters were still in the saved data file. There were also a few other unpredictable results, mainly concerned with the amount of characters available in the field. Each field can have a maximum of 80 characters, 2 lines of text in Mode 6. There can be up to 4 fields. I have added a facility to put carriage returns into a field so that an address will look ok. To use it, you type *. The * won't appear on the screen, instead a carriage return will be effected. I have created an address book with two fields per record having an 80 character capacity. One field could be used for an address, while the other could be used for any comments which might be relevant. If you create another data file using CREATE, remember not to save it with the name ADDRESS or ADD. To run another file, load ADD and LIST line 340. Change the name ADDRESS to the name of your file. I have identified many of the variables. Unfortunately, between doing most of this work and writing this info file, I have lost the bit of paper on which I wrote them down. Ahhh! The ones I remember are these: N$ - Name of data file A$ - Input variable L - Record number J - Field number N-1 - Field number N$(J) - Name of field LEN(E$) - Total number of characters entered in a field. NC(J) - Number of characters allocated to a field. This program may be useful to store small amounts of information, then have a search facility available to look for it. It may also be used as a template to develop something which may be more specialised and potentially useful. Gus Donnachaidh
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000010 20 20 20 20 20 20 41 44 44 20 28 41 44 44 52 45 | ADD (ADDRE| 00000020 53 53 20 42 4f 4f 4b 20 50 52 4f 47 52 41 4d 29 |SS BOOK PROGRAM)| 00000030 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |. | 00000040 20 20 20 20 20 20 20 20 20 20 20 42 79 20 47 75 | By Gu| 00000050 73 20 44 6f 6e 6e 61 63 68 61 69 64 68 0d 0d 49 |s Donnachaidh..I| 00000060 20 46 4f 55 4e 44 20 61 20 70 72 6f 67 72 61 6d | FOUND a program| 00000070 20 69 6e 20 61 20 62 6f 6f 6b 20 63 61 6c 6c 65 | in a book calle| 00000080 64 20 50 52 41 43 54 49 43 41 4c 20 50 52 4f 47 |d PRACTICAL PROG| 00000090 52 41 4d 53 20 46 4f 52 20 54 48 45 20 45 4c 45 |RAMS FOR THE ELE| 000000a0 43 54 52 4f 4e 0d 62 79 20 4f 77 65 6e 20 42 69 |CTRON.by Owen Bi| 000000b0 73 68 6f 70 20 61 6e 64 20 41 75 64 72 65 79 20 |shop and Audrey | 000000c0 42 69 73 68 6f 70 2c 20 70 75 62 6c 69 73 68 65 |Bishop, publishe| 000000d0 64 20 62 79 20 47 72 61 6e 61 64 61 20 50 75 62 |d by Granada Pub| 000000e0 6c 69 73 68 69 6e 67 20 69 6e 20 0d 31 39 38 34 |lishing in .1984| 000000f0 20 66 6f 72 20 61 20 73 69 6d 70 6c 65 20 64 61 | for a simple da| 00000100 74 61 62 61 73 65 20 70 72 6f 67 72 61 6d 2e 20 |tabase program. | 00000110 49 74 20 77 61 73 20 63 61 6c 6c 65 64 20 49 4e |It was called IN| 00000120 46 4f 20 46 49 4c 45 2e 20 49 66 20 79 6f 75 20 |FO FILE. If you | 00000130 68 61 76 65 0d 61 20 63 6f 70 79 2c 20 79 6f 75 |have.a copy, you| 00000140 20 6d 69 67 68 74 20 77 61 6e 74 20 74 6f 20 63 | might want to c| 00000150 6f 6d 70 61 72 65 20 74 68 65 20 6f 72 69 67 69 |ompare the origi| 00000160 6e 61 6c 20 77 69 74 68 20 6d 79 20 76 65 72 73 |nal with my vers| 00000170 69 6f 6e 2e 0d 20 20 20 49 20 6c 69 6b 65 64 20 |ion.. I liked | 00000180 69 74 20 62 65 63 61 75 73 65 20 6f 66 20 61 6e |it because of an| 00000190 20 69 6e 74 65 72 65 73 74 69 6e 67 20 73 65 61 | interesting sea| 000001a0 72 63 68 20 66 61 63 69 6c 69 74 79 20 77 68 69 |rch facility whi| 000001b0 63 68 20 77 69 6c 6c 20 0d 71 75 69 63 6b 6c 79 |ch will .quickly| 000001c0 20 73 65 61 72 63 68 20 66 6f 72 20 73 69 6e 67 | search for sing| 000001d0 6c 65 20 6c 65 74 74 65 72 20 73 74 72 69 6e 67 |le letter string| 000001e0 73 20 61 73 20 77 65 6c 6c 20 61 73 20 6d 75 6c |s as well as mul| 000001f0 74 69 70 6c 65 20 6c 65 74 74 65 72 0d 73 74 72 |tiple letter.str| 00000200 69 6e 67 73 2e 20 49 20 68 61 76 65 20 6e 61 6d |ings. I have nam| 00000210 65 64 20 69 74 20 50 52 4f 43 73 65 61 72 63 68 |ed it PROCsearch| 00000220 2e 20 49 74 20 69 73 20 75 73 65 64 20 69 6e 20 |. It is used in | 00000230 63 6f 6e 6a 75 6e 63 74 69 6f 6e 20 77 69 74 68 |conjunction with| 00000240 0d 50 52 4f 43 64 69 73 70 6c 61 79 2e 20 49 74 |.PROCdisplay. It| 00000250 20 6d 69 67 68 74 20 62 65 20 75 73 65 66 75 6c | might be useful| 00000260 20 69 6e 20 61 6e 6f 74 68 65 72 20 70 72 6f 67 | in another prog| 00000270 72 61 6d 2e 0d 20 20 20 49 20 64 69 64 6e 27 74 |ram.. I didn't| 00000280 20 6c 69 6b 65 20 69 74 20 62 65 63 61 75 73 65 | like it because| 00000290 20 6f 66 20 74 68 65 20 70 72 69 6d 61 74 69 76 | of the primativ| 000002a0 65 20 70 72 6f 67 72 61 6d 20 73 74 72 75 63 74 |e program struct| 000002b0 75 72 65 2e 20 4c 6f 74 73 20 6f 66 0d 47 4f 54 |ure. Lots of.GOT| 000002c0 4f 73 2c 20 68 61 72 64 6c 79 20 61 6e 79 20 75 |Os, hardly any u| 000002d0 73 65 20 6f 66 20 50 52 4f 43 65 64 75 72 65 73 |se of PROCedures| 000002e0 20 61 6e 64 20 73 6f 6d 65 20 73 75 70 65 72 66 | and some superf| 000002f0 6c 75 6f 75 73 20 62 69 74 73 2e 0d 20 20 20 49 |luous bits.. I| 00000300 20 68 61 76 65 20 6d 61 64 65 20 61 20 6e 75 6d | have made a num| 00000310 62 65 72 20 6f 66 20 6d 61 6a 6f 72 20 61 6e 64 |ber of major and| 00000320 20 6d 69 6e 6f 72 20 63 68 61 6e 67 65 73 20 74 | minor changes t| 00000330 6f 20 74 68 69 73 20 70 72 6f 67 72 61 6d 20 74 |o this program t| 00000340 6f 20 0d 6d 61 6b 65 20 69 74 20 77 6f 72 6b 20 |o .make it work | 00000350 74 68 65 20 77 61 79 20 49 20 77 61 6e 74 65 64 |the way I wanted| 00000360 20 69 74 20 74 6f 2e 20 41 6e 79 6f 6e 65 20 65 | it to. Anyone e| 00000370 6c 73 65 20 77 68 6f 20 74 68 69 6e 6b 73 20 74 |lse who thinks t| 00000380 68 65 20 73 61 6d 65 20 77 61 79 0d 61 73 20 49 |he same way.as I| 00000390 20 64 6f 20 6d 69 67 68 74 20 6c 69 6b 65 20 74 | do might like t| 000003a0 6f 20 74 72 79 20 6f 74 68 65 72 20 61 64 61 70 |o try other adap| 000003b0 74 61 74 69 6f 6e 73 2e 20 45 78 74 65 6e 64 69 |tations. Extendi| 000003c0 6e 67 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 |ng the number of| 000003d0 0d 72 65 63 6f 72 64 73 20 73 68 6f 75 6c 64 20 |.records should | 000003e0 62 65 20 66 61 69 72 6c 79 20 73 74 72 61 69 67 |be fairly straig| 000003f0 68 74 66 6f 72 77 61 72 64 3b 20 73 69 6d 70 6c |htforward; simpl| 00000400 79 20 61 20 6d 61 74 74 65 72 20 6f 66 20 69 64 |y a matter of id| 00000410 65 6e 74 69 66 79 69 6e 67 0d 74 68 65 20 72 65 |entifying.the re| 00000420 6c 65 76 61 6e 74 20 44 49 4d 20 73 74 61 74 65 |levant DIM state| 00000430 6d 65 6e 74 73 2e 20 49 20 74 68 69 6e 6b 20 6f |ments. I think o| 00000440 6e 65 20 6f 72 20 74 77 6f 20 77 68 69 63 68 20 |ne or two which | 00000450 72 65 6d 61 69 6e 20 6d 61 79 20 62 65 0d 72 65 |remain may be.re| 00000460 64 75 6e 64 61 6e 74 2e 0d 20 20 20 49 20 64 69 |dundant.. I di| 00000470 64 20 63 6f 6e 73 69 64 65 72 20 6c 65 61 76 69 |d consider leavi| 00000480 6e 67 20 69 6e 20 74 68 65 20 6f 72 69 67 69 6e |ng in the origin| 00000490 61 6c 20 6c 69 6e 65 73 2c 20 68 69 64 69 6e 67 |al lines, hiding| 000004a0 20 74 68 65 6d 20 77 69 74 68 20 52 45 4d 0d 73 | them with REM.s| 000004b0 74 61 74 65 6d 65 6e 74 73 2e 20 48 6f 77 65 76 |tatements. Howev| 000004c0 65 72 20 74 68 69 73 20 74 6f 6f 6b 20 75 70 20 |er this took up | 000004d0 61 20 6c 6f 74 20 6f 66 20 6d 65 6d 6f 72 79 20 |a lot of memory | 000004e0 61 6e 64 20 69 6e 20 61 6e 79 20 63 61 73 65 20 |and in any case | 000004f0 6d 6f 73 74 20 6f 66 0d 74 68 65 73 65 20 77 65 |most of.these we| 00000500 72 65 20 70 6f 69 6e 74 6c 65 73 73 2e 20 0d 20 |re pointless. . | 00000510 20 20 54 68 65 20 6f 72 69 67 69 6e 61 6c 20 70 | The original p| 00000520 72 6f 67 72 61 6d 20 69 6e 63 6c 75 64 65 64 20 |rogram included | 00000530 61 20 70 6f 72 74 69 6f 6e 20 74 6f 20 63 72 65 |a portion to cre| 00000540 61 74 65 20 61 20 64 61 74 61 20 66 69 6c 65 20 |ate a data file | 00000550 77 68 69 63 68 0d 77 61 73 20 74 68 65 6e 20 6c |which.was then l| 00000560 6f 61 64 65 64 20 77 68 65 6e 20 74 68 65 20 70 |oaded when the p| 00000570 72 6f 67 72 61 6d 20 77 61 73 20 72 65 2d 72 75 |rogram was re-ru| 00000580 6e 2e 20 54 68 69 73 20 77 61 73 20 62 65 63 61 |n. This was beca| 00000590 75 73 65 20 74 68 65 20 70 72 6f 67 2d 0d 72 61 |use the prog-.ra| 000005a0 6d 20 77 61 73 20 6f 72 69 67 69 6e 61 6c 6c 79 |m was originally| 000005b0 20 77 72 69 74 74 65 6e 20 74 6f 20 75 73 65 20 | written to use | 000005c0 77 69 74 68 20 74 61 70 65 2e 20 49 20 73 74 61 |with tape. I sta| 000005d0 72 74 65 64 20 62 79 20 72 65 6d 6f 76 69 6e 67 |rted by removing| 000005e0 20 74 68 69 73 0d 63 72 65 61 74 65 20 72 6f 75 | this.create rou| 000005f0 74 69 6e 65 20 61 6e 64 20 6d 61 6b 69 6e 67 20 |tine and making | 00000600 69 74 20 61 20 73 65 70 61 72 61 74 65 20 70 72 |it a separate pr| 00000610 6f 67 72 61 6d 20 63 61 6c 6c 65 64 20 43 52 45 |ogram called CRE| 00000620 41 54 45 2e 20 41 73 20 69 74 20 0d 6f 6e 6c 79 |ATE. As it .only| 00000630 20 6e 65 65 64 73 20 74 6f 20 62 65 20 75 73 65 | needs to be use| 00000640 64 20 6f 63 63 61 73 69 6f 6e 61 6c 6c 79 2c 20 |d occasionally, | 00000650 69 74 20 77 61 73 20 6a 75 73 74 20 77 61 73 74 |it was just wast| 00000660 69 6e 67 20 73 70 61 63 65 20 61 6e 64 20 73 70 |ing space and sp| 00000670 65 65 64 2e 0d 20 20 20 49 20 72 65 6d 6f 76 65 |eed.. I remove| 00000680 64 20 6d 6f 73 74 20 6f 66 20 74 68 65 20 47 4f |d most of the GO| 00000690 54 4f 73 2c 20 72 65 70 6c 61 63 69 6e 67 20 74 |TOs, replacing t| 000006a0 68 65 73 65 20 77 69 74 68 20 6c 6f 67 69 63 61 |hese with logica| 000006b0 6c 20 6a 75 6d 70 73 2e 20 49 0d 68 61 64 20 74 |l jumps. I.had t| 000006c0 6f 20 6c 65 61 76 65 20 32 20 69 6e 20 50 52 4f |o leave 2 in PRO| 000006d0 43 69 6e 70 75 74 2c 20 6f 6e 65 20 77 61 73 20 |Cinput, one was | 000006e0 74 68 65 20 6c 6f 6f 70 20 63 6f 6e 74 72 6f 6c |the loop control| 000006f0 69 6e 67 20 74 68 69 73 20 50 52 4f 43 20 61 6e |ing this PROC an| 00000700 64 20 49 0d 64 69 64 6e 27 74 20 73 65 65 20 61 |d I.didn't see a| 00000710 6e 79 20 72 65 61 6c 20 6e 65 65 64 20 74 6f 20 |ny real need to | 00000720 63 68 61 6e 67 65 20 69 74 2e 20 54 68 65 20 6f |change it. The o| 00000730 74 68 65 72 20 63 6f 6e 74 72 6f 6c 73 20 74 68 |ther controls th| 00000740 65 20 64 65 6c 65 74 65 20 0d 66 75 6e 63 74 69 |e delete .functi| 00000750 6f 6e 2e 20 4d 6f 72 65 20 61 62 6f 75 74 20 74 |on. More about t| 00000760 68 69 73 20 69 6e 20 61 20 6d 6f 6d 65 6e 74 2e |his in a moment.| 00000770 20 54 68 65 72 65 20 61 72 65 20 6e 75 6d 65 72 | There are numer| 00000780 6f 75 73 20 6f 74 68 65 72 20 6c 69 6e 65 0d 6a |ous other line.j| 00000790 75 6d 70 73 2c 20 6f 66 20 74 68 65 20 76 61 72 |umps, of the var| 000007a0 69 65 74 79 2c 20 49 46 20 2e 2e 2e 20 54 48 45 |iety, IF ... THE| 000007b0 4e 20 35 35 30 2e 20 49 20 72 65 6d 6f 76 65 64 |N 550. I removed| 000007c0 20 61 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 | a number of the| 000007d0 73 65 20 62 75 74 0d 6d 61 6e 79 20 72 65 6d 61 |se but.many rema| 000007e0 69 6e 2e 0d 20 20 20 49 20 61 64 64 65 64 20 61 |in.. I added a| 000007f0 20 47 4f 54 4f 20 74 6f 20 50 52 4f 43 64 69 73 | GOTO to PROCdis| 00000800 70 6c 61 79 20 74 6f 20 61 6c 6c 6f 77 20 66 6f |play to allow fo| 00000810 72 20 61 20 70 72 69 6e 74 6f 75 74 20 6f 66 20 |r a printout of | 00000820 61 20 72 65 63 6f 72 64 20 74 6f 0d 62 65 20 6d |a record to.be m| 00000830 61 64 65 2e 0d 20 20 20 49 20 72 65 6f 72 67 61 |ade.. I reorga| 00000840 6e 69 73 65 64 20 74 68 65 20 76 61 72 69 6f 75 |nised the variou| 00000850 73 20 6d 65 6e 75 73 20 61 6e 64 20 73 75 62 6d |s menus and subm| 00000860 65 6e 75 73 20 61 6e 64 20 6d 61 64 65 20 74 68 |enus and made th| 00000870 65 20 69 6e 70 75 74 20 0d 72 6f 75 74 69 6e 65 |e input .routine| 00000880 20 77 6f 72 6b 20 61 20 6c 69 74 74 6c 65 20 65 | work a little e| 00000890 61 73 69 65 72 2e 0d 20 20 20 49 20 68 61 76 65 |asier.. I have| 000008a0 20 6b 65 70 74 20 74 68 65 20 6c 69 6e 65 20 6e | kept the line n| 000008b0 75 6d 62 65 72 73 2c 20 61 73 20 66 61 72 20 61 |umbers, as far a| 000008c0 73 20 70 6f 73 73 69 62 6c 65 2c 20 74 68 65 20 |s possible, the | 000008d0 73 61 6d 65 20 61 73 20 74 68 65 0d 6f 72 69 67 |same as the.orig| 000008e0 69 6e 61 6c 2e 20 0d 20 20 20 54 68 65 20 3c 44 |inal. . The <D| 000008f0 45 4c 45 54 45 3e 20 6b 65 79 20 77 69 6c 6c 20 |ELETE> key will | 00000900 70 6c 61 63 65 20 61 20 7c 20 63 68 61 72 61 63 |place a | charac| 00000910 74 65 72 20 6f 6e 20 74 68 65 20 73 63 72 65 65 |ter on the scree| 00000920 6e 2e 20 54 68 69 73 20 69 6e 2d 0d 64 69 63 61 |n. This in-.dica| 00000930 74 65 73 20 74 68 61 74 20 61 6c 6c 20 74 68 65 |tes that all the| 00000940 20 74 65 78 74 20 69 6e 20 74 68 69 73 20 66 69 | text in this fi| 00000950 65 6c 64 20 68 61 73 20 62 65 65 6e 20 64 65 6c |eld has been del| 00000960 65 74 65 64 2e 20 59 6f 75 20 63 61 6e 20 65 69 |eted. You can ei| 00000970 74 68 65 72 0d 72 65 2d 74 79 70 65 20 69 74 20 |ther.re-type it | 00000980 6f 72 20 75 73 65 20 74 68 65 20 63 75 72 73 6f |or use the curso| 00000990 72 20 61 6e 64 20 3c 43 4f 50 59 3e 20 6b 65 79 |r and <COPY> key| 000009a0 73 20 74 6f 20 63 6f 70 79 20 77 68 61 74 20 79 |s to copy what y| 000009b0 6f 75 20 77 61 6e 74 2e 20 49 20 0d 74 72 69 65 |ou want. I .trie| 000009c0 64 20 72 65 6d 6f 76 69 6e 67 20 74 68 69 73 20 |d removing this | 000009d0 6c 69 6e 65 2c 20 31 32 30 30 2c 20 73 6f 20 74 |line, 1200, so t| 000009e0 68 61 74 20 74 68 65 20 3c 44 45 4c 45 54 45 3e |hat the <DELETE>| 000009f0 20 6b 65 79 20 77 6f 72 6b 65 64 20 61 73 0d 6e | key worked as.n| 00000a00 6f 72 6d 61 6c 20 69 6e 20 74 68 65 20 69 6e 70 |ormal in the inp| 00000a10 75 74 20 72 6f 75 74 69 6e 65 20 61 6e 64 20 74 |ut routine and t| 00000a20 68 65 20 70 72 6f 67 72 61 6d 20 73 65 65 6d 65 |he program seeme| 00000a30 64 20 74 6f 20 77 6f 72 6b 20 66 61 69 72 6c 79 |d to work fairly| 00000a40 20 77 65 6c 6c 2e 0d 48 6f 77 65 76 65 72 2c 20 | well..However, | 00000a50 74 68 65 20 64 65 6c 65 74 65 64 20 63 68 61 72 |the deleted char| 00000a60 61 63 74 65 72 73 20 77 65 72 65 20 73 74 69 6c |acters were stil| 00000a70 6c 20 69 6e 20 74 68 65 20 73 61 76 65 64 20 64 |l in the saved d| 00000a80 61 74 61 20 66 69 6c 65 2e 20 54 68 65 72 65 0d |ata file. There.| 00000a90 77 65 72 65 20 61 6c 73 6f 20 61 20 66 65 77 20 |were also a few | 00000aa0 6f 74 68 65 72 20 75 6e 70 72 65 64 69 63 74 61 |other unpredicta| 00000ab0 62 6c 65 20 72 65 73 75 6c 74 73 2c 20 6d 61 69 |ble results, mai| 00000ac0 6e 6c 79 20 63 6f 6e 63 65 72 6e 65 64 20 77 69 |nly concerned wi| 00000ad0 74 68 20 74 68 65 0d 61 6d 6f 75 6e 74 20 6f 66 |th the.amount of| 00000ae0 20 63 68 61 72 61 63 74 65 72 73 20 61 76 61 69 | characters avai| 00000af0 6c 61 62 6c 65 20 69 6e 20 74 68 65 20 66 69 65 |lable in the fie| 00000b00 6c 64 2e 0d 20 20 20 45 61 63 68 20 66 69 65 6c |ld.. Each fiel| 00000b10 64 20 63 61 6e 20 68 61 76 65 20 61 20 6d 61 78 |d can have a max| 00000b20 69 6d 75 6d 20 6f 66 20 38 30 20 63 68 61 72 61 |imum of 80 chara| 00000b30 63 74 65 72 73 2c 20 32 20 6c 69 6e 65 73 20 6f |cters, 2 lines o| 00000b40 66 20 74 65 78 74 20 69 6e 0d 4d 6f 64 65 20 36 |f text in.Mode 6| 00000b50 2e 20 54 68 65 72 65 20 63 61 6e 20 62 65 20 75 |. There can be u| 00000b60 70 20 74 6f 20 34 20 66 69 65 6c 64 73 2e 0d 20 |p to 4 fields.. | 00000b70 20 20 49 20 68 61 76 65 20 61 64 64 65 64 20 61 | I have added a| 00000b80 20 66 61 63 69 6c 69 74 79 20 74 6f 20 70 75 74 | facility to put| 00000b90 20 63 61 72 72 69 61 67 65 20 72 65 74 75 72 6e | carriage return| 00000ba0 73 20 69 6e 74 6f 20 61 20 66 69 65 6c 64 20 73 |s into a field s| 00000bb0 6f 20 74 68 61 74 0d 61 6e 20 61 64 64 72 65 73 |o that.an addres| 00000bc0 73 20 77 69 6c 6c 20 6c 6f 6f 6b 20 6f 6b 2e 20 |s will look ok. | 00000bd0 54 6f 20 75 73 65 20 69 74 2c 20 79 6f 75 20 74 |To use it, you t| 00000be0 79 70 65 20 2a 2e 20 54 68 65 20 2a 20 77 6f 6e |ype *. The * won| 00000bf0 27 74 20 61 70 70 65 61 72 20 6f 6e 20 0d 74 68 |'t appear on .th| 00000c00 65 20 73 63 72 65 65 6e 2c 20 69 6e 73 74 65 61 |e screen, instea| 00000c10 64 20 61 20 63 61 72 72 69 61 67 65 20 72 65 74 |d a carriage ret| 00000c20 75 72 6e 20 77 69 6c 6c 20 62 65 20 65 66 66 65 |urn will be effe| 00000c30 63 74 65 64 2e 0d 20 20 20 49 20 68 61 76 65 20 |cted.. I have | 00000c40 63 72 65 61 74 65 64 20 61 6e 20 61 64 64 72 65 |created an addre| 00000c50 73 73 20 62 6f 6f 6b 20 77 69 74 68 20 74 77 6f |ss book with two| 00000c60 20 66 69 65 6c 64 73 20 70 65 72 20 72 65 63 6f | fields per reco| 00000c70 72 64 20 68 61 76 69 6e 67 20 61 6e 0d 38 30 20 |rd having an.80 | 00000c80 63 68 61 72 61 63 74 65 72 20 63 61 70 61 63 69 |character capaci| 00000c90 74 79 2e 20 4f 6e 65 20 66 69 65 6c 64 20 63 6f |ty. One field co| 00000ca0 75 6c 64 20 62 65 20 75 73 65 64 20 66 6f 72 20 |uld be used for | 00000cb0 61 6e 20 61 64 64 72 65 73 73 2c 20 77 68 69 6c |an address, whil| 00000cc0 65 20 74 68 65 0d 6f 74 68 65 72 20 63 6f 75 6c |e the.other coul| 00000cd0 64 20 62 65 20 75 73 65 64 20 66 6f 72 20 61 6e |d be used for an| 00000ce0 79 20 63 6f 6d 6d 65 6e 74 73 20 77 68 69 63 68 |y comments which| 00000cf0 20 6d 69 67 68 74 20 62 65 20 72 65 6c 65 76 61 | might be releva| 00000d00 6e 74 2e 0d 20 20 20 49 66 20 79 6f 75 20 63 72 |nt.. If you cr| 00000d10 65 61 74 65 20 61 6e 6f 74 68 65 72 20 64 61 74 |eate another dat| 00000d20 61 20 66 69 6c 65 20 75 73 69 6e 67 20 43 52 45 |a file using CRE| 00000d30 41 54 45 2c 20 72 65 6d 65 6d 62 65 72 20 6e 6f |ATE, remember no| 00000d40 74 20 74 6f 20 73 61 76 65 20 69 74 0d 77 69 74 |t to save it.wit| 00000d50 68 20 74 68 65 20 6e 61 6d 65 20 41 44 44 52 45 |h the name ADDRE| 00000d60 53 53 20 6f 72 20 41 44 44 2e 0d 20 20 20 54 6f |SS or ADD.. To| 00000d70 20 72 75 6e 20 61 6e 6f 74 68 65 72 20 66 69 6c | run another fil| 00000d80 65 2c 20 6c 6f 61 64 20 41 44 44 20 61 6e 64 20 |e, load ADD and | 00000d90 4c 49 53 54 20 6c 69 6e 65 20 33 34 30 2e 20 43 |LIST line 340. C| 00000da0 68 61 6e 67 65 20 74 68 65 20 6e 61 6d 65 20 0d |hange the name .| 00000db0 41 44 44 52 45 53 53 20 74 6f 20 74 68 65 20 6e |ADDRESS to the n| 00000dc0 61 6d 65 20 6f 66 20 79 6f 75 72 20 66 69 6c 65 |ame of your file| 00000dd0 2e 0d 20 20 20 49 20 68 61 76 65 20 69 64 65 6e |.. I have iden| 00000de0 74 69 66 69 65 64 20 6d 61 6e 79 20 6f 66 20 74 |tified many of t| 00000df0 68 65 20 76 61 72 69 61 62 6c 65 73 2e 20 55 6e |he variables. Un| 00000e00 66 6f 72 74 75 6e 61 74 65 6c 79 2c 20 62 65 74 |fortunately, bet| 00000e10 77 65 65 6e 20 64 6f 69 6e 67 0d 6d 6f 73 74 20 |ween doing.most | 00000e20 6f 66 20 74 68 69 73 20 77 6f 72 6b 20 61 6e 64 |of this work and| 00000e30 20 77 72 69 74 69 6e 67 20 74 68 69 73 20 69 6e | writing this in| 00000e40 66 6f 20 66 69 6c 65 2c 20 49 20 68 61 76 65 20 |fo file, I have | 00000e50 6c 6f 73 74 20 74 68 65 20 62 69 74 20 6f 66 20 |lost the bit of | 00000e60 0d 70 61 70 65 72 20 6f 6e 20 77 68 69 63 68 20 |.paper on which | 00000e70 49 20 77 72 6f 74 65 20 74 68 65 6d 20 64 6f 77 |I wrote them dow| 00000e80 6e 2e 20 41 68 68 68 21 0d 20 20 20 54 68 65 20 |n. Ahhh!. The | 00000e90 6f 6e 65 73 20 49 20 72 65 6d 65 6d 62 65 72 20 |ones I remember | 00000ea0 61 72 65 20 74 68 65 73 65 3a 0d 20 20 20 20 20 |are these:. | 00000eb0 20 4e 24 20 20 20 20 20 20 20 20 2d 20 20 20 4e | N$ - N| 00000ec0 61 6d 65 20 6f 66 20 64 61 74 61 20 66 69 6c 65 |ame of data file| 00000ed0 0d 20 20 20 20 20 20 41 24 20 20 20 20 20 20 20 |. A$ | 00000ee0 20 2d 20 20 20 49 6e 70 75 74 20 76 61 72 69 61 | - Input varia| 00000ef0 62 6c 65 0d 20 20 20 20 20 20 4c 20 20 20 20 20 |ble. L | 00000f00 20 20 20 20 2d 20 20 20 52 65 63 6f 72 64 20 6e | - Record n| 00000f10 75 6d 62 65 72 0d 20 20 20 20 20 20 4a 20 20 20 |umber. J | 00000f20 20 20 20 20 20 20 2d 20 20 20 46 69 65 6c 64 20 | - Field | 00000f30 6e 75 6d 62 65 72 0d 20 20 20 20 20 20 4e 2d 31 |number. N-1| 00000f40 20 20 20 20 20 20 20 2d 20 20 20 46 69 65 6c 64 | - Field| 00000f50 20 6e 75 6d 62 65 72 0d 20 20 20 20 20 20 4e 24 | number. N$| 00000f60 28 4a 29 20 20 20 20 20 2d 20 20 20 4e 61 6d 65 |(J) - Name| 00000f70 20 6f 66 20 66 69 65 6c 64 0d 20 20 20 20 20 20 | of field. | 00000f80 4c 45 4e 28 45 24 29 20 20 20 2d 20 20 20 54 6f |LEN(E$) - To| 00000f90 74 61 6c 20 6e 75 6d 62 65 72 20 6f 66 20 63 68 |tal number of ch| 00000fa0 61 72 61 63 74 65 72 73 20 65 6e 74 65 72 65 64 |aracters entered| 00000fb0 20 69 6e 20 61 20 66 69 65 6c 64 2e 0d 20 20 20 | in a field.. | 00000fc0 20 20 20 4e 43 28 4a 29 20 20 20 20 20 2d 20 20 | NC(J) - | 00000fd0 20 4e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 | Number of chara| 00000fe0 63 74 65 72 73 20 61 6c 6c 6f 63 61 74 65 64 20 |cters allocated | 00000ff0 74 6f 20 61 20 66 69 65 6c 64 2e 0d 20 0d 54 68 |to a field.. .Th| 00001000 69 73 20 70 72 6f 67 72 61 6d 20 6d 61 79 20 62 |is program may b| 00001010 65 20 75 73 65 66 75 6c 20 74 6f 20 73 74 6f 72 |e useful to stor| 00001020 65 20 73 6d 61 6c 6c 20 61 6d 6f 75 6e 74 73 20 |e small amounts | 00001030 6f 66 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2c 20 |of information, | 00001040 74 68 65 6e 0d 68 61 76 65 20 61 20 73 65 61 72 |then.have a sear| 00001050 63 68 20 66 61 63 69 6c 69 74 79 20 61 76 61 69 |ch facility avai| 00001060 6c 61 62 6c 65 20 74 6f 20 6c 6f 6f 6b 20 66 6f |lable to look fo| 00001070 72 20 69 74 2e 20 49 74 20 6d 61 79 20 61 6c 73 |r it. It may als| 00001080 6f 20 62 65 20 75 73 65 64 20 61 73 0d 61 20 74 |o be used as.a t| 00001090 65 6d 70 6c 61 74 65 20 74 6f 20 64 65 76 65 6c |emplate to devel| 000010a0 6f 70 20 73 6f 6d 65 74 68 69 6e 67 20 77 68 69 |op something whi| 000010b0 63 68 20 6d 61 79 20 62 65 20 6d 6f 72 65 20 73 |ch may be more s| 000010c0 70 65 63 69 61 6c 69 73 65 64 20 61 6e 64 0d 70 |pecialised and.p| 000010d0 6f 74 65 6e 74 69 61 6c 6c 79 20 75 73 65 66 75 |otentially usefu| 000010e0 6c 2e 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 |l.. | 000010f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00001110 20 20 20 20 20 20 20 20 20 20 20 20 47 75 73 20 | Gus | 00001120 44 6f 6e 6e 61 63 68 61 69 64 68 0d |Donnachaidh.| 0000112c