Home » CEEFAX disks » telesoftware1.adl » DBTXT » Compare

Compare DBTXT with 25-12-87/DBINFO

File: CEEFAX disks » telesoftware1.adl » DBTXT
Compared with: CEEFAX disks » telesoftware4.adl » 25-12-87/DBINFO
Similarity: 82% of bytes duplicated

81.9% of the bytes in these files are duplicated between them. Duplicated Different Padding (ignored)

Bytes are marked as duplicated if they lie within a run of at least 16 bytes which also appears somewhere in the other file, in any position. Long runs of padding bytes (zeros, spaces, &FF and &E5) are ignored.

DBTXT
00000000  0d 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00000010  20 20 20 20 20 20 20 41  20 44 41 54 41 2d 42 41  |       A DATA-BA|
00000020  53 45 20 53 59 53 54 45  4d 20 62 79 20 52 4f 42  |SE SYSTEM by ROB|
00000030  20 41 4e 44 45 52 53 4f  4e 2e 0d 0d 0d 0d 20 20  | ANDERSON.....  |
00000040  20 20 49 4e 54 52 4f 44  55 43 54 49 4f 4e 20 0d  |  INTRODUCTION .|
00000050  20 20 20 20 20 0d 20 20  20 20 20 20 20 20 20 54  |     .         T|
00000060  68 69 73 20 64 61 74 61  20 62 61 73 65 20 70 72  |his data base pr|
00000070  6f 67 72 61 6d 20 65 6e  61 62 6c 65 73 20 61 20  |ogram enables a |
00000080  63 6f 6c 6c 65 63 74 69  6f 6e 20 6f 66 20 72 65  |collection of re|
00000090  63 6f 72 64 73 20 28 6f  66 20 61 6e 79 20 0d 20  |cords (of any . |
000000a0  20 20 20 66 6f 72 6d 61  74 29 20 74 6f 20 62 65  |   format) to be|
000000b0  20 70 72 6f 63 65 73 73  65 64 20 69 6e 20 61 20  | processed in a |
000000c0  76 61 72 69 65 74 79 20  6f 66 20 77 61 79 73 2c  |variety of ways,|
000000d0  20 61 6e 64 20 73 68 6f  75 6c 64 20 70 72 6f 76  | and should prov|
000000e0  69 64 65 20 61 20 0d 20  20 20 20 67 6f 6f 64 20  |ide a .    good |
000000f0  69 6e 74 72 6f 64 75 63  74 69 6f 6e 20 69 6e 74  |introduction int|
00000100  6f 20 74 68 65 20 75 73  65 20 6f 66 20 64 61 74  |o the use of dat|
00000110  61 2d 62 61 73 65 20 73  79 73 74 65 6d 73 20 69  |a-base systems i|
00000120  6e 20 67 65 6e 65 72 61  6c 2e 20 42 79 20 0d 20  |n general. By . |
00000130  20 20 20 66 6f 6c 6c 6f  77 69 6e 67 20 74 68 65  |   following the|
00000140  20 42 41 53 49 43 20 70  72 6f 67 72 61 6d 20 6c  | BASIC program l|
00000150  69 73 74 69 6e 67 20 69  74 20 73 68 6f 75 6c 64  |isting it should|
00000160  20 61 6c 73 6f 20 67 69  76 65 20 74 68 65 20 72  | also give the r|
00000170  65 61 64 65 72 20 61 6e  20 0d 20 20 20 20 69 6e  |eader an .    in|
00000180  73 69 67 68 74 20 69 6e  74 6f 20 68 6f 77 20 73  |sight into how s|
00000190  75 63 68 20 61 20 73 79  73 74 65 6d 20 77 6f 72  |uch a system wor|
000001a0  6b 73 2c 20 61 6e 64 20  75 6c 74 69 6d 61 74 65  |ks, and ultimate|
000001b0  6c 79 20 68 6f 77 20 74  6f 20 67 6f 20 61 62 6f  |ly how to go abo|
000001c0  75 74 20 0d 20 20 20 20  77 72 69 74 69 6e 67 20  |ut .    writing |
000001d0  61 20 73 79 73 74 65 6d  20 6f 66 20 79 6f 75 72  |a system of your|
000001e0  20 6f 77 6e 2e 20 0d 20  20 20 20 20 0d 20 20 20  | own. .     .   |
000001f0  20 20 20 20 20 20 54 68  65 20 61 63 74 75 61 6c  |      The actual|
00000200  20 64 61 74 61 20 74 68  61 74 20 67 6f 65 73 20  | data that goes |
00000210  74 6f 20 6d 61 6b 65 20  75 70 20 74 68 65 20 64  |to make up the d|
00000220  61 74 61 2d 66 69 6c 65  20 69 73 20 68 65 6c 64  |ata-file is held|
00000230  20 69 6e 20 0d 20 20 20  20 63 6f 6d 70 75 74 65  | in .    compute|
00000240  72 20 6d 65 6d 6f 72 79  2c 20 77 68 69 63 68 20  |r memory, which |
00000250  64 6f 65 73 20 72 65 73  74 72 69 63 74 20 74 68  |does restrict th|
00000260  65 20 61 6d 6f 75 6e 74  20 6f 66 20 64 61 74 61  |e amount of data|
00000270  20 74 68 61 74 20 63 61  6e 20 62 65 20 0d 20 20  | that can be .  |
00000280  20 20 73 74 6f 72 65 64  20 69 6e 20 6f 6e 65 20  |  stored in one |
00000290  66 69 6c 65 2c 20 62 75  74 20 62 79 20 75 73 69  |file, but by usi|
000002a0  6e 67 20 74 68 69 73 20  6d 65 74 68 6f 64 20 76  |ng this method v|
000002b0  65 72 79 20 66 61 73 74  20 61 63 63 65 73 73 20  |ery fast access |
000002c0  74 69 6d 65 73 20 74 6f  20 0d 20 20 20 20 74 68  |times to .    th|
000002d0  65 20 64 61 74 61 20 61  72 65 20 61 63 68 69 65  |e data are achie|
000002e0  76 65 64 20 28 65 2e 67  2e 20 77 69 74 68 20 73  |ved (e.g. with s|
000002f0  65 61 72 63 68 65 73 20  65 74 63 2e 29 2c 20 61  |earches etc.), a|
00000300  6e 64 20 69 74 20 61 6c  73 6f 20 70 72 6f 76 69  |nd it also provi|
00000310  64 65 73 20 0d 20 20 20  20 61 20 67 6f 6f 64 20  |des .    a good |
00000320  77 61 79 20 66 6f 72 20  74 61 70 65 20 75 73 65  |way for tape use|
00000330  72 73 20 74 6f 20 73 74  6f 72 65 20 61 20 72 65  |rs to store a re|
00000340  61 73 6f 6e 61 62 6c 65  20 61 6d 6f 75 6e 74 20  |asonable amount |
00000350  6f 66 20 72 65 63 6f 72  64 73 20 0d 20 20 20 20  |of records .    |
00000360  77 69 74 68 6f 75 74 20  68 61 76 69 6e 67 20 74  |without having t|
00000370  6f 20 77 61 69 74 20 61  20 6c 6f 6e 67 20 74 69  |o wait a long ti|
00000380  6d 65 20 66 6f 72 20 69  74 20 61 6c 6c 20 74 6f  |me for it all to|
00000390  20 6c 6f 61 64 2e 20 0d  20 20 20 20 20 0d 20 20  | load. .     .  |
000003a0  20 20 20 20 20 20 20 54  68 75 73 2c 20 69 6e 20  |       Thus, in |
000003b0  73 75 6d 6d 61 72 79 2c  20 74 68 69 73 20 73 79  |summary, this sy|
000003c0  73 74 65 6d 20 63 6f 75  6c 64 20 62 65 20 6f 66  |stem could be of|
000003d0  20 75 73 65 20 74 6f 20  3a 20 0d 20 20 20 20 20  | use to : .     |
000003e0  0d 20 20 20 20 20 20 20  20 20 69 29 20 54 61 70  |.         i) Tap|
000003f0  65 20 61 6e 64 20 64 69  73 63 20 75 73 65 72 73  |e and disc users|
00000400  20 77 68 6f 20 72 65 71  75 69 72 65 20 61 20 73  | who require a s|
00000410  6d 61 6c 6c 20 62 75 74  20 66 61 73 74 20 64 61  |mall but fast da|
00000420  74 61 2d 62 61 73 65 20  0d 20 20 20 20 73 79 73  |ta-base .    sys|
00000430  74 65 6d 20 74 6f 20 73  74 6f 72 65 20 66 6f 72  |tem to store for|
00000440  20 65 78 61 6d 70 6c 65  20 6e 61 6d 65 73 2c 20  | example names, |
00000450  61 64 64 72 65 73 73 65  73 20 61 6e 64 20 74 65  |addresses and te|
00000460  6c 65 70 68 6f 6e 65 20  6e 75 6d 62 65 72 73 2c  |lephone numbers,|
00000470  20 6f 66 20 0d 20 20 20  20 77 68 69 63 68 20 72  | of .    which r|
00000480  6f 75 67 68 6c 79 20 32  30 30 20 6e 61 6d 65 73  |oughly 200 names|
00000490  20 65 74 63 20 6d 61 79  20 62 65 20 73 74 6f 72  | etc may be stor|
000004a0  65 64 20 75 73 69 6e 67  20 61 20 72 65 61 73 6f  |ed using a reaso|
000004b0  6e 61 62 6c 79 20 73 69  7a 65 64 20 0d 20 20 20  |nably sized .   |
000004c0  20 72 65 63 6f 72 64 20  66 6f 72 6d 61 74 2e 20  | record format. |
000004d0  0d 20 20 20 20 20 0d 20  20 20 20 20 20 20 20 20  |.     .         |
000004e0  69 69 29 20 53 6f 6d 65  6f 6e 65 20 77 68 6f 20  |ii) Someone who |
000004f0  68 61 73 20 6e 65 76 65  72 20 75 73 65 64 20 61  |has never used a|
00000500  20 64 61 74 61 2d 62 61  73 65 20 73 79 73 74 65  | data-base syste|
00000510  6d 20 62 65 66 6f 72 65  2c 20 61 6e 64 20 69 73  |m before, and is|
00000520  20 0d 20 20 20 20 77 61  6e 74 69 6e 67 20 73 6f  | .    wanting so|
00000530  6d 65 20 65 78 70 65 72  69 65 6e 63 65 20 77 69  |me experience wi|
00000540  74 68 20 61 20 73 6d 61  6c 6c 20 73 79 73 74 65  |th a small syste|
00000550  6d 20 73 6f 20 61 73 20  74 6f 20 6f 62 74 61 69  |m so as to obtai|
00000560  6e 20 61 20 62 65 74 74  65 72 20 0d 20 20 20 20  |n a better .    |
00000570  75 6e 64 65 72 73 74 61  6e 64 69 6e 67 20 6f 66  |understanding of|
00000580  20 74 68 65 20 62 61 73  69 63 20 70 72 69 6e 63  | the basic princ|
00000590  69 70 6c 65 73 20 69 6e  76 6f 6c 76 65 64 2e 20  |iples involved. |
000005a0  0d 20 20 20 20 20 0d 20  20 20 20 20 20 20 20 20  |.     .         |
000005b0  69 69 69 29 20 46 72 6f  6d 20 74 68 65 20 70 72  |iii) From the pr|
000005c0  6f 67 72 61 6d 6d 69 6e  67 20 70 6f 69 6e 74 20  |ogramming point |
000005d0  6f 66 20 76 69 65 77 20  74 68 65 72 65 20 69 73  |of view there is|
000005e0  20 61 20 66 75 6c 6c 20  0d 20 20 20 20 64 65 73  | a full .    des|
000005f0  63 72 69 70 74 69 6f 6e  20 6f 66 20 74 68 65 20  |cription of the |
00000600  72 6f 75 74 69 6e 65 73  20 65 74 63 2e 20 69 6e  |routines etc. in|
00000610  63 6c 75 64 65 64 20 69  6e 20 74 68 69 73 20 61  |cluded in this a|
00000620  72 74 69 63 6c 65 2c 20  77 68 69 63 68 20 6d 61  |rticle, which ma|
00000630  79 20 0d 20 20 20 20 68  65 6c 70 20 73 6f 6d 65  |y .    help some|
00000640  6f 6e 65 20 74 6f 20 77  72 69 74 65 20 61 20 73  |one to write a s|
00000650  79 73 74 65 6d 20 6f 66  20 74 68 65 72 65 20 6f  |ystem of there o|
00000660  77 6e 2e 20 0d 20 20 20  20 20 0d 20 20 20 20 57  |wn. .     .    W|
00000670  48 41 54 20 44 41 54 41  42 41 53 45 20 44 4f 45  |HAT DATABASE DOE|
00000680  53 20 3a 20 0d 20 20 20  20 20 0d 20 20 20 20 20  |S : .     .     |
00000690  20 20 20 20 41 73 20 74  68 65 20 6e 61 6d 65 20  |    As the name |
000006a0  73 75 67 67 65 73 74 73  2c 20 74 68 69 73 20 70  |suggests, this p|
000006b0  72 6f 67 72 61 6d 20 69  73 20 61 20 64 61 74 61  |rogram is a data|
000006c0  20 62 61 73 65 20 74 68  61 74 20 65 6e 61 62 6c  | base that enabl|
000006d0  65 73 20 0d 20 20 20 20  70 69 65 63 65 73 20 6f  |es .    pieces o|
000006e0  66 20 64 61 74 61 20 74  6f 20 62 65 20 73 61 76  |f data to be sav|
000006f0  65 64 20 61 6e 64 20 72  65 63 61 6c 6c 65 64 20  |ed and recalled |
00000700  61 6e 64 2c 20 6f 6e 63  65 20 65 6e 74 65 72 65  |and, once entere|
00000710  64 2c 20 74 68 69 73 20  64 61 74 61 20 0d 20 20  |d, this data .  |
00000720  20 20 63 61 6e 20 62 65  20 70 72 6f 63 65 73 73  |  can be process|
00000730  65 64 20 69 6e 20 6d 61  6e 79 20 64 69 66 66 65  |ed in many diffe|
00000740  72 65 6e 74 20 77 61 79  73 20 74 68 61 74 20 61  |rent ways that a|
00000750  72 65 20 64 65 73 63 72  69 62 65 64 20 6c 61 74  |re described lat|
00000760  65 72 2e 20 54 68 65 20  0d 20 20 20 20 74 79 70  |er. The .    typ|
00000770  65 73 20 6f 66 20 64 61  74 61 20 65 6e 74 65 72  |es of data enter|
00000780  65 64 20 61 72 65 20 75  70 20 74 6f 20 79 6f 75  |ed are up to you|
00000790  2c 20 62 75 74 20 66 6f  72 20 65 78 61 6d 70 6c  |, but for exampl|
000007a0  65 20 74 68 65 20 73 79  73 74 65 6d 20 63 6f 75  |e the system cou|
000007b0  6c 64 20 0d 20 20 20 20  68 6f 6c 64 20 6e 61 6d  |ld .    hold nam|
000007c0  65 73 2c 20 61 64 64 72  65 73 73 65 73 20 61 6e  |es, addresses an|
000007d0  64 20 70 68 6f 6e 65 20  6e 75 6d 62 65 72 73 2c  |d phone numbers,|
000007e0  20 77 68 69 63 68 20 63  6f 75 6c 64 20 74 68 65  | which could the|
000007f0  6e 20 62 65 20 72 65 63  61 6c 6c 65 64 20 0d 20  |n be recalled . |
00000800  20 20 20 77 68 65 6e 65  76 65 72 20 79 6f 75 20  |   whenever you |
00000810  77 61 6e 74 2e 20 42 65  66 6f 72 65 20 67 6f 69  |want. Before goi|
00000820  6e 67 20 6f 6e 2c 20 49  20 77 69 6c 6c 20 6e 6f  |ng on, I will no|
00000830  77 20 65 78 70 6c 61 69  6e 20 77 68 61 74 20 65  |w explain what e|
00000840  78 61 63 74 6c 79 20 61  20 0d 20 20 20 20 64 61  |xactly a .    da|
00000850  74 61 20 66 69 6c 65 20  69 73 2c 20 77 68 69 63  |ta file is, whic|
00000860  68 20 77 69 6c 6c 20 6d  61 6b 65 20 74 68 65 20  |h will make the |
00000870  72 65 73 74 20 6f 66 20  74 68 65 20 61 72 74 69  |rest of the arti|
00000880  63 6c 65 20 65 61 73 69  65 72 20 74 6f 20 0d 20  |cle easier to . |
00000890  20 20 20 66 6f 6c 6c 6f  77 2e 20 0d 20 20 20 20  |   follow. .    |
000008a0  20 0d 20 20 20 20 20 20  20 20 20 53 74 69 6c 6c  | .         Still|
000008b0  20 75 73 69 6e 67 20 6f  75 72 20 65 78 61 6d 70  | using our examp|
000008c0  6c 65 20 6f 66 20 61 20  6e 61 6d 65 73 20 66 69  |le of a names fi|
000008d0  6c 65 2c 20 61 20 74 79  70 69 63 61 6c 20 65 6e  |le, a typical en|
000008e0  74 72 79 20 28 77 68 69  63 68 20 0d 20 20 20 20  |try (which .    |
000008f0  69 73 20 63 61 6c 6c 65  64 20 61 20 52 45 43 4f  |is called a RECO|
00000900  52 44 29 2c 20 6d 61 79  20 62 65 20 3a 20 0d 20  |RD), may be : . |
00000910  20 20 20 20 0d 20 20 20  20 52 45 43 4f 52 44 20  |    .    RECORD |
00000920  31 20 0d 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |1 .    ---------|
00000930  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000940  2d 2d 20 0d 20 20 20 20  4e 41 4d 45 20 3a 20 42  |-- .    NAME : B|
00000950  4f 42 20 41 4e 44 45 52  53 4f 4e 20 0d 20 20 20  |OB ANDERSON .   |
00000960  20 20 0d 20 20 20 20 41  44 44 52 45 53 53 20 3a  |  .    ADDRESS :|
00000970  20 31 33 20 42 41 43 4b  45 52 53 20 46 49 45 4c  | 13 BACKERS FIEL|
00000980  44 2c 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  |D, .            |
00000990  20 20 4d 41 52 54 4f 4e  2c 20 0d 20 20 20 20 20  |  MARTON, .     |
000009a0  20 20 20 20 20 20 20 20  20 54 48 45 20 42 4f 52  |         THE BOR|
000009b0  4f 2c 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  |O, .            |
000009c0  20 20 45 4e 47 4c 41 4e  44 2e 20 0d 20 20 20 20  |  ENGLAND. .    |
000009d0  20 0d 20 20 20 20 50 48  4f 4e 45 20 4e 4f 53 3a  | .    PHONE NOS:|
000009e0  20 28 30 31 32 33 29 20  34 35 36 37 38 39 20 0d  | (0123) 456789 .|
000009f0  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00000a00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 20  |--------------- |
00000a10  0d 20 20 20 20 20 0d 20  20 20 20 20 20 20 20 20  |.     .         |
00000a20  54 68 65 20 73 74 72 69  6e 67 73 20 22 4e 41 4d  |The strings "NAM|
00000a30  45 20 3a 22 2c 20 22 41  44 44 52 45 53 53 20 3a  |E :", "ADDRESS :|
00000a40  22 2c 20 61 6e 64 20 22  50 48 4f 4e 45 20 4e 4f  |", and "PHONE NO|
00000a50  53 20 3a 22 20 61 72 65  20 74 68 65 20 0d 20 20  |S :" are the .  |
00000a60  20 20 46 49 45 4c 44 20  54 49 54 4c 45 53 2c 20  |  FIELD TITLES, |
00000a70  77 68 69 63 68 20 72 65  6d 61 69 6e 20 63 6f 6e  |which remain con|
00000a80  73 74 61 6e 74 20 6f 6e  63 65 20 74 68 65 20 66  |stant once the f|
00000a90  69 6c 65 20 68 61 73 20  62 65 65 6e 20 73 65 74  |ile has been set|
00000aa0  20 75 70 2e 20 0d 20 20  20 20 20 20 20 20 20 20  | up. .          |
00000ab0  0d 0d 0d 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
00000ac0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000ad0  20 20 20 20 20 20 20 50  61 67 65 20 31 0d 0d 0d  |       Page 1...|
00000ae0  0d 0d 0d 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
00000af0  20 20 20 20 20 20 20 20  41 20 44 41 54 41 2d 42  |        A DATA-B|
00000b00  41 53 45 20 53 59 53 54  45 4d 20 62 79 20 52 4f  |ASE SYSTEM by RO|
00000b10  42 20 41 4e 44 45 52 53  4f 4e 2e 0d 0d 0d 0d 20  |B ANDERSON..... |
00000b20  20 20 20 20 20 20 20 20  41 66 74 65 72 20 74 68  |        After th|
00000b30  65 20 66 69 65 6c 64 20  74 69 74 6c 65 73 20 68  |e field titles h|
00000b40  61 76 65 20 62 65 65 6e  20 64 65 66 69 6e 65 64  |ave been defined|
00000b50  2c 20 79 6f 75 20 74 68  65 6e 20 68 61 76 65 20  |, you then have |
00000b60  74 6f 20 64 65 66 69 6e  65 20 0d 20 20 20 20 74  |to define .    t|
00000b70  68 65 20 66 69 65 6c 64  20 6c 65 6e 67 74 68 73  |he field lengths|
00000b80  2c 20 77 68 69 63 68 20  6d 65 61 6e 73 20 74 68  |, which means th|
00000b90  65 20 61 6d 6f 75 6e 74  20 6f 66 20 63 68 61 72  |e amount of char|
00000ba0  61 63 74 65 72 73 20 74  68 61 74 20 6d 61 79 20  |acters that may |
00000bb0  62 65 20 0d 20 20 20 20  6e 65 65 64 65 64 20 74  |be .    needed t|
00000bc0  6f 20 68 6f 6c 64 2c 20  66 6f 72 20 65 78 61 6d  |o hold, for exam|
00000bd0  70 6c 65 2c 20 61 6e 20  61 64 64 72 65 73 73 2e  |ple, an address.|
00000be0  20 49 6e 20 74 68 65 20  61 62 6f 76 65 20 65 78  | In the above ex|
00000bf0  61 6d 70 6c 65 2c 20 61  20 67 6f 6f 64 20 0d 20  |ample, a good . |
00000c00  20 20 20 66 69 65 6c 64  20 6c 65 6e 67 74 68 20  |   field length |
00000c10  66 6f 72 20 74 68 65 20  66 69 65 6c 64 20 74 69  |for the field ti|
00000c20  74 6c 65 20 22 4e 41 4d  45 20 3a 22 20 77 6f 75  |tle "NAME :" wou|
00000c30  6c 64 20 62 65 20 61 62  6f 75 74 20 32 30 2c 20  |ld be about 20, |
00000c40  62 65 63 61 75 73 65 20  0d 20 20 20 20 69 74 20  |because .    it |
00000c50  77 6f 75 6c 64 20 62 65  20 75 6e 6c 69 6b 65 6c  |would be unlikel|
00000c60  79 20 74 6f 20 68 61 76  65 20 61 20 6e 61 6d 65  |y to have a name|
00000c70  20 77 69 74 68 20 6d 6f  72 65 20 74 68 61 6e 20  | with more than |
00000c80  32 30 20 63 68 61 72 61  63 74 65 72 73 20 69 6e  |20 characters in|
00000c90  20 0d 20 20 20 20 69 74  2e 20 0d 20 20 20 20 20  | .    it. .     |
00000ca0  20 20 20 20 20 0d 20 20  20 20 20 20 20 20 20 41  |     .         A|
00000cb0  73 20 61 20 73 75 6d 6d  61 72 79 20 74 68 65 6e  |s a summary then|
00000cc0  2c 20 44 41 54 41 42 41  53 45 20 65 6e 61 62 6c  |, DATABASE enabl|
00000cd0  65 73 20 79 6f 75 20 74  6f 20 66 69 72 73 74 6c  |es you to firstl|
00000ce0  79 20 65 6e 74 65 72 20  74 68 65 20 0d 20 20 20  |y enter the .   |
00000cf0  20 66 69 65 6c 64 20 74  69 74 6c 65 73 20 61 6e  | field titles an|
00000d00  64 20 66 69 65 6c 64 20  6c 65 6e 67 74 68 73 20  |d field lengths |
00000d10  74 68 61 74 20 61 72 65  20 77 61 6e 74 65 64 20  |that are wanted |
00000d20  66 6f 72 20 74 68 65 20  66 69 6c 65 2c 20 61 6e  |for the file, an|
00000d30  64 20 6f 6e 63 65 20 0d  20 20 20 20 73 65 74 20  |d once .    set |
00000d40  75 70 2c 20 74 68 65 20  75 73 65 72 20 63 61 6e  |up, the user can|
00000d50  20 74 68 65 6e 20 65 6e  74 65 72 20 72 65 63 6f  | then enter reco|
00000d60  72 64 73 20 69 6e 74 6f  20 74 68 65 20 66 69 6c  |rds into the fil|
00000d70  65 2e 20 0d 20 20 20 20  20 0d 20 20 20 20 53 43  |e. .     .    SC|
00000d80  52 45 45 4e 20 4c 41 59  4f 55 54 20 3a 20 0d 20  |REEN LAYOUT : . |
00000d90  20 20 20 20 0d 20 20 20  20 20 20 20 20 20 54 68  |    .         Th|
00000da0  65 20 70 72 6f 67 72 61  6d 20 75 73 65 73 20 4d  |e program uses M|
00000db0  4f 44 45 37 20 74 6f 20  77 6f 72 6b 20 69 6e 2c  |ODE7 to work in,|
00000dc0  20 74 68 75 73 20 6c 65  61 76 69 6e 67 20 70 6c  | thus leaving pl|
00000dd0  65 6e 74 79 20 6f 66 20  6d 65 6d 6f 72 79 20 0d  |enty of memory .|
00000de0  20 20 20 20 66 6f 72 20  74 68 65 20 64 61 74 61  |    for the data|
00000df0  20 66 69 6c 65 2e 20 54  68 65 20 73 63 72 65 65  | file. The scree|
00000e00  6e 20 69 73 20 73 70 6c  69 74 20 75 70 20 69 6e  |n is split up in|
00000e10  74 6f 20 74 68 72 65 65  20 6d 61 69 6e 20 61 72  |to three main ar|
00000e20  65 61 73 2e 20 54 68 65  20 0d 20 20 20 20 74 6f  |eas. The .    to|
00000e30  70 20 70 61 72 74 20 6f  66 20 74 68 65 20 73 63  |p part of the sc|
00000e40  72 65 65 6e 20 67 69 76  65 73 20 64 65 74 61 69  |reen gives detai|
00000e50  6c 73 20 6f 66 20 74 68  65 20 63 6f 6d 6d 61 6e  |ls of the comman|
00000e60  64 73 20 61 76 61 69 6c  61 62 6c 65 2c 20 61 6e  |ds available, an|
00000e70  64 20 0d 20 20 20 20 77  68 65 6e 65 76 65 72 20  |d .    whenever |
00000e80  61 20 63 6f 6d 6d 61 6e  64 20 69 73 20 73 65 6c  |a command is sel|
00000e90  65 63 74 65 64 2c 20 61  20 6d 6f 72 65 20 64 65  |ected, a more de|
00000ea0  74 61 69 6c 65 64 20 65  78 70 6c 61 6e 61 74 69  |tailed explanati|
00000eb0  6f 6e 20 69 73 20 67 69  76 65 6e 2e 20 0d 20 20  |on is given. .  |
00000ec0  20 20 20 20 20 20 20 20  0d 20 20 20 20 20 20 20  |        .       |
00000ed0  20 20 54 68 65 20 6d 69  64 64 6c 65 20 70 61 72  |  The middle par|
00000ee0  74 20 6f 66 20 74 68 65  20 73 63 72 65 65 6e 20  |t of the screen |
00000ef0  69 73 20 75 73 65 64 20  74 6f 20 64 69 73 70 6c  |is used to displ|
00000f00  61 79 20 74 68 65 20 63  75 72 72 65 6e 74 6c 79  |ay the currently|
00000f10  20 0d 20 20 20 20 73 65  6c 65 63 74 65 64 20 72  | .    selected r|
00000f20  65 63 6f 72 64 2c 20 77  68 69 6c 65 20 74 68 65  |ecord, while the|
00000f30  20 62 6f 74 74 6f 6d 20  6f 66 20 74 68 65 20 73  | bottom of the s|
00000f40  63 72 65 65 6e 20 67 69  76 65 73 20 64 65 74 61  |creen gives deta|
00000f50  69 6c 73 20 61 62 6f 75  74 20 0d 20 20 20 20 74  |ils about .    t|
00000f60  68 65 20 63 75 72 72 65  6e 74 20 64 61 74 61 20  |he current data |
00000f70  66 69 6c 65 2c 20 69 6e  63 6c 75 64 69 6e 67 20  |file, including |
00000f80  74 68 65 20 61 6d 6f 75  6e 74 20 6f 66 20 72 65  |the amount of re|
00000f90  63 6f 72 64 73 20 63 75  72 72 65 6e 74 6c 79 20  |cords currently |
00000fa0  69 6e 20 0d 20 20 20 20  74 68 65 20 66 69 6c 65  |in .    the file|
00000fb0  2c 20 74 68 65 20 72 65  6d 61 69 6e 69 6e 67 20  |, the remaining |
00000fc0  6d 65 6d 6f 72 79 20 73  70 61 63 65 2c 20 74 68  |memory space, th|
00000fd0  65 20 6c 61 73 74 20 66  69 6c 65 6e 61 6d 65 20  |e last filename |
00000fe0  65 6e 74 65 72 65 64 20  61 6e 64 20 0d 20 20 20  |entered and .   |
00000ff0  20 74 68 65 20 72 65 63  6f 72 64 20 6e 75 6d 62  | the record numb|
00001000  65 72 20 6f 66 20 74 68  65 20 72 65 63 6f 72 64  |er of the record|
00001010  20 74 68 61 74 20 69 73  20 63 75 72 72 65 6e 74  | that is current|
00001020  6c 79 20 62 65 69 6e 67  20 64 69 73 70 6c 61 79  |ly being display|
00001030  65 64 2e 20 0d 20 20 20  20 20 0d 20 20 20 20 44  |ed. .     .    D|
00001040  41 54 41 42 41 53 45 20  43 4f 4d 4d 41 4e 44 53  |ATABASE COMMANDS|
00001050  20 3a 20 0d 20 20 20 20  20 0d 20 20 20 20 20 20  | : .     .      |
00001060  20 20 20 41 73 20 77 65  6c 6c 20 61 73 20 65 6e  |   As well as en|
00001070  61 62 6c 69 6e 67 20 61  20 66 69 6c 65 20 74 6f  |abling a file to|
00001080  20 62 65 20 63 72 65 61  74 65 64 2c 20 44 41 54  | be created, DAT|
00001090  41 42 41 53 45 20 61 6c  73 6f 20 73 75 70 70 6f  |ABASE also suppo|
000010a0  72 74 73 20 0d 20 20 20  20 63 65 72 74 61 69 6e  |rts .    certain|
000010b0  20 63 6f 6d 6d 61 6e 64  73 20 74 68 61 74 20 63  | commands that c|
000010c0  61 6e 20 64 6f 20 76 61  72 69 6f 75 73 20 74 68  |an do various th|
000010d0  69 6e 67 73 20 74 6f 20  74 68 65 20 72 65 63 6f  |ings to the reco|
000010e0  72 64 73 20 74 68 61 74  20 68 61 76 65 20 0d 20  |rds that have . |
000010f0  20 20 20 62 65 65 6e 20  65 6e 74 65 72 65 64 2e  |   been entered.|
00001100  20 54 68 65 20 63 6f 6d  6d 61 6e 64 73 20 61 72  | The commands ar|
00001110  65 20 61 63 63 65 73 73  65 64 20 62 79 20 73 69  |e accessed by si|
00001120  6d 70 6c 79 20 70 72 65  73 73 69 6e 67 20 74 68  |mply pressing th|
00001130  65 20 0d 20 20 20 20 61  70 70 72 6f 70 72 69 61  |e .    appropria|
00001140  74 65 20 6b 65 79 2c 20  75 70 6f 6e 20 77 68 69  |te key, upon whi|
00001150  63 68 20 79 6f 75 20 77  69 6c 6c 20 62 65 20 67  |ch you will be g|
00001160  69 76 65 6e 20 69 6e 66  6f 72 6d 61 74 69 6f 6e  |iven information|
00001170  20 61 62 6f 75 74 20 68  6f 77 20 74 6f 20 0d 20  | about how to . |
00001180  20 20 20 75 73 65 20 74  68 65 20 63 6f 6d 6d 61  |   use the comma|
00001190  6e 64 20 61 6e 64 20 77  68 61 74 20 69 74 20 64  |nd and what it d|
000011a0  6f 65 73 2e 20 49 66 20  79 6f 75 20 74 72 79 20  |oes. If you try |
000011b0  74 6f 20 75 73 65 20 61  20 63 6f 6d 6d 61 6e 64  |to use a command|
000011c0  20 74 68 61 74 20 0d 20  20 20 20 63 61 6e 6e 6f  | that .    canno|
000011d0  74 20 62 65 20 75 73 65  64 20 61 74 20 74 68 61  |t be used at tha|
000011e0  74 20 6d 6f 6d 65 6e 74  20 28 65 2e 67 2e 20 69  |t moment (e.g. i|
000011f0  66 20 79 6f 75 20 74 72  79 20 74 6f 20 61 64 64  |f you try to add|
00001200  20 61 20 72 65 63 6f 72  64 20 74 6f 20 61 20 0d  | a record to a .|
00001210  20 20 20 20 66 69 6c 65  20 74 68 61 74 20 64 6f  |    file that do|
00001220  65 73 20 6e 6f 74 20 65  78 69 73 74 29 2c 20 74  |es not exist), t|
00001230  68 65 20 70 72 6f 67 72  61 6d 20 77 69 6c 6c 20  |he program will |
00001240  69 6e 66 6f 72 6d 20 79  6f 75 2c 20 61 6e 64 20  |inform you, and |
00001250  61 6c 73 6f 20 67 69 76  65 20 0d 20 20 20 20 79  |also give .    y|
00001260  6f 75 20 61 20 68 69 6e  74 20 61 73 20 74 6f 20  |ou a hint as to |
00001270  77 68 61 74 20 6d 69 67  68 74 20 68 61 76 65 20  |what might have |
00001280  67 6f 6e 65 20 77 72 6f  6e 67 2c 20 61 6e 64 20  |gone wrong, and |
00001290  68 6f 77 20 74 6f 20 72  65 6d 65 64 79 20 74 68  |how to remedy th|
000012a0  65 20 0d 20 20 20 20 70  72 6f 62 6c 65 6d 2e 20  |e .    problem. |
000012b0  54 68 65 20 70 72 6f 67  72 61 6d 20 69 73 20 76  |The program is v|
000012c0  65 72 79 20 75 73 65 72  20 66 72 69 65 6e 64 6c  |ery user friendl|
000012d0  79 20 69 6e 20 74 68 69  73 20 72 65 73 70 65 63  |y in this respec|
000012e0  74 2c 20 61 6e 64 20 0d  20 20 20 20 62 65 63 61  |t, and .    beca|
000012f0  75 73 65 20 6f 66 20 74  68 69 73 20 79 6f 75 20  |use of this you |
00001300  73 68 6f 75 6c 64 20 73  6f 6f 6e 20 6c 65 61 72  |should soon lear|
00001310  6e 20 68 6f 77 20 74 6f  20 75 73 65 20 74 68 65  |n how to use the|
00001320  20 70 72 6f 67 72 61 6d  20 74 6f 20 69 74 73 20  | program to its |
00001330  0d 20 20 20 20 66 75 6c  6c 65 73 74 20 70 6f 74  |.    fullest pot|
00001340  65 6e 74 69 61 6c 2e 20  44 6f 20 6e 6f 74 20 77  |ential. Do not w|
00001350  6f 72 72 79 20 61 62 6f  75 74 20 63 72 61 73 68  |orry about crash|
00001360  69 6e 67 20 74 68 65 20  70 72 6f 67 72 61 6d 20  |ing the program |
00001370  64 75 65 20 74 6f 2c 20  66 6f 72 20 0d 20 20 20  |due to, for .   |
00001380  20 65 78 61 6d 70 6c 65  2c 20 61 6e 20 69 6c 6c  | example, an ill|
00001390  65 67 61 6c 20 6f 70 65  72 61 74 69 6e 67 20 73  |egal operating s|
000013a0  79 73 74 65 6d 20 63 61  6c 6c 20 62 65 63 61 75  |ystem call becau|
000013b0  73 65 20 74 68 65 72 65  20 69 73 20 61 6e 20 65  |se there is an e|
000013c0  72 72 6f 72 20 0d 20 20  20 20 63 68 65 63 6b 69  |rror .    checki|
000013d0  6e 67 20 72 6f 75 74 69  6e 65 20 74 68 61 74 20  |ng routine that |
000013e0  74 72 61 70 73 20 61 6e  79 20 65 72 72 6f 72 73  |traps any errors|
000013f0  2c 20 72 65 70 6f 72 74  73 20 74 68 65 6d 2c 20  |, reports them, |
00001400  61 6e 64 20 74 68 65 6e  20 72 65 74 75 72 6e 73  |and then returns|
00001410  20 0d 20 20 20 20 63 6f  6e 74 72 6f 6c 20 62 61  | .    control ba|
00001420  63 6b 20 74 6f 20 74 68  65 20 70 72 6f 67 72 61  |ck to the progra|
00001430  6d 20 77 69 74 68 6f 75  74 20 6c 6f 73 69 6e 67  |m without losing|
00001440  20 74 68 65 20 64 61 74  61 20 66 69 6c 65 20 74  | the data file t|
00001450  68 61 74 20 77 61 73 20  0d 20 20 20 20 63 75 72  |hat was .    cur|
00001460  72 65 6e 74 6c 79 20 69  6e 20 6d 65 6d 6f 72 79  |rently in memory|
00001470  20 28 69 66 20 74 68 65  72 65 20 77 61 73 20 6f  | (if there was o|
00001480  6e 65 29 2e 20 0d 20 20  20 20 20 0d 20 20 20 20  |ne). .     .    |
00001490  20 20 20 20 20 54 68 65  20 63 6f 6d 6d 61 6e 64  |     The command|
000014a0  73 20 61 76 61 69 6c 61  62 6c 65 20 61 72 65 20  |s available are |
000014b0  3a 20 0d 20 20 20 20 20  0d 20 20 20 20 20 20 20  |: .     .       |
000014c0  20 20 28 41 29 20 41 44  44 20 20 20 20 20 2d 20  |  (A) ADD     - |
000014d0  61 64 64 20 61 20 72 65  63 6f 72 64 2e 20 0d 20  |add a record. . |
000014e0  20 20 20 20 20 20 20 20  28 42 29 20 42 41 43 4b  |        (B) BACK|
000014f0  20 20 20 20 2d 20 62 61  63 6b 73 74 65 70 20 74  |    - backstep t|
00001500  68 72 6f 75 67 68 20 74  68 65 20 66 69 6c 65 2e  |hrough the file.|
00001510  20 0d 20 20 20 20 20 20  20 20 20 28 44 29 20 44  | .         (D) D|
00001520  45 4c 45 54 45 20 20 2d  20 64 65 6c 65 74 65 20  |ELETE  - delete |
00001530  61 20 72 65 63 6f 72 64  2e 20 0d 20 20 20 20 20  |a record. .     |
00001540  20 20 20 20 28 45 29 20  45 44 49 54 20 20 20 20  |    (E) EDIT    |
00001550  2d 20 65 64 69 74 20 61  20 72 65 63 6f 72 64 2e  |- edit a record.|
00001560  20 0d 20 20 20 20 20 20  20 20 20 28 46 29 20 46  | .         (F) F|
00001570  4f 52 57 41 52 44 20 2d  20 66 6f 72 77 61 72 64  |ORWARD - forward|
00001580  73 74 65 70 20 74 68 72  6f 75 67 68 20 74 68 65  |step through the|
00001590  20 66 69 6c 65 2e 20 0d  20 20 20 20 20 20 20 20  | file. .        |
000015a0  20 28 48 29 20 48 45 4c  50 20 20 20 20 2d 20 67  | (H) HELP    - g|
000015b0  69 76 65 73 20 64 65 74  61 69 6c 73 20 6f 66 20  |ives details of |
000015c0  63 6f 6d 6d 61 6e 64 73  2e 20 0d 20 20 20 20 20  |commands. .     |
000015d0  20 20 20 20 28 4b 29 20  4b 45 45 50 20 20 20 20  |    (K) KEEP    |
000015e0  2d 20 73 61 76 65 20 74  68 65 20 66 69 6c 65 2e  |- save the file.|
000015f0  20 0d 20 20 20 20 20 20  20 20 20 28 4c 29 20 4c  | .         (L) L|
00001600  4f 41 44 20 20 20 20 2d  20 6c 6f 61 64 20 74 68  |OAD    - load th|
00001610  65 20 66 69 6c 65 2e 20  0d 20 20 20 20 20 20 20  |e file. .       |
00001620  20 20 28 4e 29 20 4e 45  57 20 20 20 20 20 2d 20  |  (N) NEW     - |
00001630  64 65 66 69 6e 65 20 6e  65 77 20 66 69 6c 65 2e  |define new file.|
00001640  20 0d 20 20 20 20 20 20  20 20 20 28 4f 29 20 4f  | .         (O) O|
00001650  52 44 45 52 20 20 20 2d  20 72 65 2d 61 72 72 61  |RDER   - re-arra|
00001660  6e 67 65 20 66 69 6c 65  2e 20 0d 20 20 20 20 20  |nge file. .     |
00001670  20 20 20 20 28 2a 29 20  2a 4f 53 20 20 20 20 20  |    (*) *OS     |
00001680  2d 20 65 6e 74 65 72 20  4f 53 20 63 6f 6d 6d 61  |- enter OS comma|
00001690  6e 64 2e 20 0d 20 20 20  20 20 20 20 20 20 28 50  |nd. .         (P|
000016a0  29 20 50 52 49 4e 54 20  20 20 2d 20 73 65 6e 64  |) PRINT   - send|
000016b0  20 66 69 6c 65 20 74 6f  20 70 72 69 6e 74 65 72  | file to printer|
000016c0  2e 20 0d 20 20 20 20 20  20 20 20 20 28 52 29 20  |. .         (R) |
000016d0  52 45 53 45 54 20 20 20  2d 20 72 65 73 65 74 20  |RESET   - reset |
000016e0  44 41 54 41 42 41 53 45  2e 20 0d 20 20 20 20 20  |DATABASE. .     |
000016f0  20 20 20 20 28 53 29 20  53 45 41 52 43 48 20 20  |    (S) SEARCH  |
00001700  2d 20 73 65 61 72 63 68  20 66 6f 72 20 61 20 72  |- search for a r|
00001710  65 63 6f 72 64 2e 20 0d  20 20 20 20 20 0d 20 20  |ecord. .     .  |
00001720  20 20 20 20 20 20 20 41  73 20 6d 65 6e 74 69 6f  |       As mentio|
00001730  6e 65 64 20 62 65 66 6f  72 65 2c 20 44 41 54 41  |ned before, DATA|
00001740  42 41 53 45 20 69 73 20  76 65 72 79 20 75 73 65  |BASE is very use|
00001750  72 2d 66 72 69 65 6e 64  6c 79 2c 20 61 6e 64 20  |r-friendly, and |
00001760  79 6f 75 20 0d 0d 0d 20  20 20 20 20 20 20 20 20  |you ...         |
00001770  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001780  20 20 20 20 20 20 20 20  20 20 20 50 61 67 65 20  |           Page |
00001790  32 0d 0d 0d 0d 0d 0d 20  20 20 20 20 20 20 20 20  |2......         |
000017a0  20 20 20 20 20 20 20 20  20 20 20 20 41 20 44 41  |            A DA|
000017b0  54 41 2d 42 41 53 45 20  53 59 53 54 45 4d 20 62  |TA-BASE SYSTEM b|
000017c0  79 20 52 4f 42 20 41 4e  44 45 52 53 4f 4e 2e 0d  |y ROB ANDERSON..|
000017d0  0d 0d 0d 20 20 20 20 73  68 6f 75 6c 64 20 68 61  |...    should ha|
000017e0  76 65 20 6e 6f 20 70 72  6f 62 6c 65 6d 73 20 75  |ve no problems u|
000017f0  73 69 6e 67 20 74 68 65  20 63 6f 6d 6d 61 6e 64  |sing the command|
00001800  73 2c 20 62 75 74 20 69  6e 20 63 61 73 65 20 74  |s, but in case t|
00001810  68 65 72 65 20 61 72 65  20 61 20 0d 20 20 20 20  |here are a .    |
00001820  66 65 77 20 70 6f 69 6e  74 73 20 74 68 61 74 20  |few points that |
00001830  61 72 65 20 73 74 69 6c  6c 20 6e 6f 74 20 63 6c  |are still not cl|
00001840  65 61 72 20 77 68 65 6e  20 75 73 69 6e 67 20 74  |ear when using t|
00001850  68 65 20 70 72 6f 67 72  61 6d 2c 20 61 6e 20 0d  |he program, an .|
00001860  20 20 20 20 65 78 70 6c  61 6e 61 74 69 6f 6e 20  |    explanation |
00001870  69 73 20 6e 6f 77 20 67  69 76 65 6e 20 6f 66 20  |is now given of |
00001880  61 6c 6c 20 74 68 65 20  63 6f 6d 6d 61 6e 64 73  |all the commands|
00001890  2e 20 0d 20 20 20 20 20  0d 20 20 20 20 41 44 44  |. .     .    ADD|
000018a0  20 45 6e 61 62 6c 65 73  20 61 20 72 65 63 6f 72  | Enables a recor|
000018b0  64 20 74 6f 20 62 65 20  61 64 64 65 64 20 74 6f  |d to be added to|
000018c0  20 74 68 65 20 64 61 74  61 20 66 69 6c 65 20 63  | the data file c|
000018d0  75 72 72 65 6e 74 6c 79  20 69 6e 20 6d 65 6d 6f  |urrently in memo|
000018e0  72 79 2e 20 0d 20 20 20  20 20 20 54 68 65 20 72  |ry. .      The r|
000018f0  65 63 6f 72 64 20 61 64  64 65 64 20 69 73 20 70  |ecord added is p|
00001900  6c 61 63 65 64 20 61 74  20 74 68 65 20 65 6e 64  |laced at the end|
00001910  20 6f 66 20 74 68 65 20  66 69 6c 65 2e 20 0d 20  | of the file. . |
00001920  20 20 20 42 41 43 4b 20  57 68 65 6e 65 76 65 72  |   BACK Whenever|
00001930  20 42 20 69 73 20 70 72  65 73 73 65 64 2c 20 74  | B is pressed, t|
00001940  68 65 20 63 75 72 72 65  6e 74 20 72 65 63 6f 72  |he current recor|
00001950  64 20 6e 75 6d 62 65 72  20 69 73 20 64 65 63 72  |d number is decr|
00001960  65 6d 65 6e 74 65 64 20  0d 20 20 20 20 20 20 62  |emented .      b|
00001970  79 20 6f 6e 65 2c 20 73  6f 20 74 68 61 74 20 74  |y one, so that t|
00001980  68 65 20 70 72 65 76 69  6f 75 73 20 72 65 63 6f  |he previous reco|
00001990  72 64 20 69 73 20 64 69  73 70 6c 61 79 65 64 20  |rd is displayed |
000019a0  6f 6e 20 74 68 65 20 73  63 72 65 65 6e 2e 20 54  |on the screen. T|
000019b0  68 69 73 20 0d 20 20 20  20 20 20 63 6f 6d 6d 61  |his .      comma|
000019c0  6e 64 2c 20 61 6c 6f 6e  67 20 77 69 74 68 20 28  |nd, along with (|
000019d0  46 29 20 46 4f 52 57 41  52 44 2c 20 65 6e 61 62  |F) FORWARD, enab|
000019e0  6c 65 73 20 74 68 65 20  66 69 6c 65 20 74 6f 20  |les the file to |
000019f0  62 65 20 73 63 61 6e 6e  65 64 20 0d 20 20 20 20  |be scanned .    |
00001a00  20 20 74 68 72 6f 75 67  68 2c 20 61 20 72 65 63  |  through, a rec|
00001a10  6f 72 64 20 61 74 20 61  20 74 69 6d 65 2e 20 0d  |ord at a time. .|
00001a20  20 20 20 20 44 45 4c 45  54 45 20 54 68 69 73 20  |    DELETE This |
00001a30  77 69 6c 6c 20 64 65 6c  65 74 65 20 74 68 65 20  |will delete the |
00001a40  72 65 63 6f 72 64 20 63  75 72 72 65 6e 74 20 62  |record current b|
00001a50  65 69 6e 67 20 64 69 73  70 6c 61 79 65 64 20 6f  |eing displayed o|
00001a60  6e 20 74 68 65 20 0d 20  20 20 20 20 20 73 63 72  |n the .      scr|
00001a70  65 65 6e 2c 20 61 66 74  65 72 77 68 69 63 68 20  |een, afterwhich |
00001a80  74 68 65 20 66 69 6c 65  20 77 69 6c 6c 20 62 65  |the file will be|
00001a90  20 63 6f 6d 70 61 63 74  65 64 2e 20 42 65 63 61  | compacted. Beca|
00001aa0  75 73 65 20 74 68 69 73  20 63 6f 6d 6d 6d 61 6e  |use this commman|
00001ab0  64 20 0d 20 20 20 20 20  20 69 73 20 69 72 72 65  |d .      is irre|
00001ac0  76 65 72 73 61 62 6c 65  20 69 6e 20 69 74 73 20  |versable in its |
00001ad0  65 66 66 65 63 74 2c 20  79 6f 75 20 61 72 65 20  |effect, you are |
00001ae0  66 69 72 73 74 20 61 73  6b 65 64 20 69 66 20 79  |first asked if y|
00001af0  6f 75 20 72 65 61 6c 6c  79 20 0d 20 20 20 20 20  |ou really .     |
00001b00  20 77 61 6e 74 20 74 6f  20 67 6f 20 61 68 65 61  | want to go ahea|
00001b10  64 20 61 6e 64 20 64 65  6c 65 74 65 20 74 68 65  |d and delete the|
00001b20  20 72 65 63 6f 72 64 2e  20 0d 20 20 20 20 45 44  | record. .    ED|
00001b30  49 54 20 54 68 69 73 20  63 6f 6d 6d 61 6e 64 20  |IT This command |
00001b40  77 69 6c 6c 20 65 6e 61  62 6c 65 20 74 68 65 20  |will enable the |
00001b50  64 69 73 70 6c 61 79 65  64 20 72 65 63 6f 72 64  |displayed record|
00001b60  20 74 6f 20 62 65 20 65  64 69 74 65 64 2c 20 0d  | to be edited, .|
00001b70  20 20 20 20 20 20 65 6e  61 62 6c 69 6e 67 20 6d  |      enabling m|
00001b80  69 73 74 61 6b 65 73 20  65 74 63 2e 20 74 6f 20  |istakes etc. to |
00001b90  62 65 20 63 6f 72 72 65  63 74 65 64 2e 20 0d 20  |be corrected. . |
00001ba0  20 20 20 46 4f 52 57 41  52 44 20 45 6e 61 62 6c  |   FORWARD Enabl|
00001bb0  65 73 20 74 68 65 20 72  65 63 6f 72 64 73 20 74  |es the records t|
00001bc0  6f 20 62 65 20 73 63 61  6e 6e 65 64 20 69 6e 20  |o be scanned in |
00001bd0  61 20 66 6f 72 77 61 72  64 20 64 69 72 65 63 74  |a forward direct|
00001be0  69 6f 6e 20 28 73 65 65  20 0d 20 20 20 20 20 20  |ion (see .      |
00001bf0  42 41 43 4b 29 2e 20 0d  20 20 20 20 48 45 4c 50  |BACK). .    HELP|
00001c00  20 54 68 69 73 20 63 6f  6d 6d 61 6e 64 20 69 73  | This command is|
00001c10  20 76 65 72 79 20 75 73  65 66 75 6c 6c 20 62 65  | very usefull be|
00001c20  63 61 75 73 65 20 69 74  20 67 69 76 65 73 20 61  |cause it gives a|
00001c30  20 73 75 6d 6d 61 72 79  20 6f 66 20 61 6c 6c 20  | summary of all |
00001c40  0d 20 20 20 20 20 20 74  68 65 20 63 6f 6d 6d 61  |.      the comma|
00001c50  6e 64 73 20 61 6e 64 20  77 68 61 74 20 74 68 65  |nds and what the|
00001c60  79 20 64 6f 2e 20 0d 20  20 20 20 4b 45 45 50 20  |y do. .    KEEP |
00001c70  52 65 73 75 6c 74 73 20  69 6e 20 74 68 65 20 64  |Results in the d|
00001c80  61 74 61 20 66 69 6c 65  20 69 6e 20 6d 65 6d 6f  |ata file in memo|
00001c90  72 79 20 62 65 69 6e 67  20 73 61 76 65 64 20 74  |ry being saved t|
00001ca0  6f 20 74 68 65 20 63 75  72 72 65 6e 74 6c 79 20  |o the currently |
00001cb0  0d 20 20 20 20 20 20 61  63 74 69 76 65 20 66 69  |.      active fi|
00001cc0  6c 69 6e 67 20 73 79 73  74 65 6d 2c 20 77 68 69  |ling system, whi|
00001cd0  63 68 20 63 61 6e 20 74  68 65 6e 20 62 65 20 6c  |ch can then be l|
00001ce0  6f 61 64 65 64 20 69 6e  20 75 73 69 6e 67 20 4c  |oaded in using L|
00001cf0  4f 41 44 2e 20 0d 20 20  20 20 4c 4f 41 44 20 45  |OAD. .    LOAD E|
00001d00  6e 61 62 6c 65 73 20 61  20 70 72 65 76 69 6f 75  |nables a previou|
00001d10  73 6c 79 20 73 61 76 65  64 20 66 69 6c 65 20 74  |sly saved file t|
00001d20  6f 20 62 65 20 6c 6f 61  64 65 64 20 69 6e 20 66  |o be loaded in f|
00001d30  72 6f 6d 20 61 20 66 69  6c 69 6e 67 20 0d 20 20  |rom a filing .  |
00001d40  20 20 20 20 73 79 73 74  65 6d 2e 20 41 66 74 65  |    system. Afte|
00001d50  72 20 74 79 70 69 6e 67  20 69 6e 20 74 68 65 20  |r typing in the |
00001d60  66 69 6c 65 6e 61 6d 65  20 6f 66 20 74 68 65 20  |filename of the |
00001d70  64 61 74 61 20 66 69 6c  65 2c 20 79 6f 75 20 77  |data file, you w|
00001d80  69 6c 6c 20 61 6c 73 6f  20 0d 20 20 20 20 20 20  |ill also .      |
00001d90  68 61 76 65 20 74 6f 20  74 79 70 65 20 69 6e 20  |have to type in |
00001da0  74 68 65 20 70 61 73 73  77 6f 72 64 20 74 68 61  |the password tha|
00001db0  74 20 68 61 73 20 70 72  65 76 69 6f 75 73 6c 79  |t has previously|
00001dc0  20 62 65 65 6e 20 67 69  76 65 6e 20 74 6f 20 74  | been given to t|
00001dd0  68 65 20 0d 20 20 20 20  20 20 66 69 6c 65 2c 20  |he .      file, |
00001de0  61 6e 64 20 6f 6e 6c 79  20 77 68 65 6e 20 74 68  |and only when th|
00001df0  65 20 63 6f 72 72 65 63  74 20 70 61 73 73 77 6f  |e correct passwo|
00001e00  72 64 20 68 61 73 20 62  65 65 6e 20 65 6e 74 65  |rd has been ente|
00001e10  72 65 64 20 77 69 6c 6c  20 74 68 65 20 0d 20 20  |red will the .  |
00001e20  20 20 20 20 72 65 73 74  20 6f 66 20 74 68 65 20  |    rest of the |
00001e30  66 69 6c 65 20 62 65 20  6c 6f 61 64 65 64 20 69  |file be loaded i|
00001e40  6e 2e 20 57 68 65 6e 20  74 79 70 69 6e 67 20 69  |n. When typing i|
00001e50  6e 20 74 68 65 20 70 61  73 73 77 6f 72 64 2c 20  |n the password, |
00001e60  69 74 20 77 69 6c 6c 20  0d 20 20 20 20 20 20 6e  |it will .      n|
00001e70  6f 74 20 62 65 20 70 72  69 6e 74 65 64 20 75 70  |ot be printed up|
00001e80  20 6f 6e 20 74 68 65 20  73 63 72 65 65 6e 20 73  | on the screen s|
00001e90  6f 20 61 73 20 74 6f 20  70 72 65 76 65 6e 74 20  |o as to prevent |
00001ea0  61 6e 79 6f 6e 65 20 65  6c 73 65 20 73 65 65 69  |anyone else seei|
00001eb0  6e 67 20 0d 20 20 20 20  20 20 69 74 21 20 49 66  |ng .      it! If|
00001ec0  20 61 6e 20 61 74 74 65  6d 70 74 20 69 73 20 6d  | an attempt is m|
00001ed0  61 64 65 20 74 6f 20 6c  6f 61 64 20 61 20 64 61  |ade to load a da|
00001ee0  74 61 20 66 69 6c 65 20  74 68 61 74 20 77 61 73  |ta file that was|
00001ef0  20 6e 6f 74 20 63 72 65  61 74 65 64 20 0d 20 20  | not created .  |
00001f00  20 20 20 20 62 79 20 44  41 54 41 42 41 53 45 2c  |    by DATABASE,|
00001f10  20 74 68 65 20 66 69 6c  65 20 77 69 6c 6c 20 62  | the file will b|
00001f20  65 20 72 65 6a 65 63 74  65 64 2e 20 0d 20 20 20  |e rejected. .   |
00001f30  20 4e 45 57 20 54 68 69  73 20 63 6f 6d 6d 61 6e  | NEW This comman|
00001f40  64 20 65 6e 61 62 6c 65  73 20 61 20 6e 65 77 20  |d enables a new |
00001f50  66 69 6c 65 20 74 6f 20  62 65 20 63 72 65 61 74  |file to be creat|
00001f60  65 64 2c 20 70 72 6f 76  69 64 65 64 20 74 68 65  |ed, provided the|
00001f70  72 65 20 69 73 20 0d 20  20 20 20 20 20 6e 6f 74  |re is .      not|
00001f80  20 61 20 66 69 6c 65 20  61 6c 72 65 61 64 79 20  | a file already |
00001f90  69 6e 20 6d 65 6d 6f 72  79 20 75 70 6f 6e 20 77  |in memory upon w|
00001fa0  68 69 63 68 20 69 74 20  77 69 6c 6c 20 68 61 76  |hich it will hav|
00001fb0  65 20 74 6f 20 62 65 20  64 65 6c 65 74 65 64 20  |e to be deleted |
00001fc0  0d 20 20 20 20 20 20 75  73 69 6e 67 20 52 45 53  |.      using RES|
00001fd0  45 54 2e 20 57 68 65 6e  20 64 65 66 69 6e 69 6e  |ET. When definin|
00001fe0  67 20 61 20 66 69 6c 65  2c 20 74 68 65 20 66 69  |g a file, the fi|
00001ff0  72 73 74 20 74 68 69 6e  67 20 74 68 61 74 20 6d  |rst thing that m|
00002000  75 73 74 20 62 65 20 64  6f 6e 65 20 0d 20 20 20  |ust be done .   |
00002010  20 20 20 69 73 20 74 6f  20 64 65 66 69 6e 65 20  |   is to define |
00002020  74 68 65 20 66 69 65 6c  64 20 74 69 74 6c 65 73  |the field titles|
00002030  2c 20 61 66 74 65 72 77  68 69 63 68 20 74 68 65  |, afterwhich the|
00002040  20 66 69 65 6c 64 20 6c  65 6e 67 74 68 73 20 6d  | field lengths m|
00002050  75 73 74 20 62 65 20 0d  20 20 20 20 20 20 65 6e  |ust be .      en|
00002060  74 65 72 65 64 2e 20 47  72 65 61 74 20 63 61 72  |tered. Great car|
00002070  65 20 6d 75 73 74 20 62  65 20 6d 61 64 65 20 77  |e must be made w|
00002080  68 65 6e 20 64 65 66 69  6e 69 6e 67 20 74 68 65  |hen defining the|
00002090  73 65 20 62 65 63 61 75  73 65 20 74 68 65 79 20  |se because they |
000020a0  0d 20 20 20 20 20 20 63  61 6e 6e 6f 74 20 62 65  |.      cannot be|
000020b0  20 6c 61 74 65 72 20 63  68 61 6e 67 65 64 2e 20  | later changed. |
000020c0  59 6f 75 20 73 68 6f 75  6c 64 20 6e 6f 74 20 68  |You should not h|
000020d0  61 76 65 20 61 6e 79 20  70 72 6f 62 6c 65 6d 73  |ave any problems|
000020e0  20 73 65 74 74 69 6e 67  20 75 70 20 0d 20 20 20  | setting up .   |
000020f0  20 20 20 61 20 66 69 6c  65 20 62 65 63 61 75 73  |   a file becaus|
00002100  65 20 74 68 65 20 70 72  6f 67 72 61 6d 20 67 69  |e the program gi|
00002110  76 65 73 20 61 6c 6c 20  74 68 65 20 64 65 74 61  |ves all the deta|
00002120  69 6c 73 20 61 62 6f 75  74 20 68 6f 77 20 74 6f  |ils about how to|
00002130  20 67 6f 20 0d 20 20 20  20 20 20 61 62 6f 75 74  | go .      about|
00002140  20 69 74 2e 20 46 69 6e  61 6c 6c 79 20 79 6f 75  | it. Finally you|
00002150  20 77 69 6c 6c 20 62 65  20 61 73 6b 65 64 20 66  | will be asked f|
00002160  6f 72 20 61 20 70 61 73  73 77 6f 72 64 20 74 68  |or a password th|
00002170  61 74 20 69 73 20 74 6f  20 67 6f 20 0d 20 20 20  |at is to go .   |
00002180  20 20 20 77 69 74 68 20  74 68 65 20 66 69 6c 65  |   with the file|
00002190  2c 20 77 68 69 63 68 20  77 69 6c 6c 20 73 74 6f  |, which will sto|
000021a0  70 20 61 6e 79 20 75 6e  61 74 68 6f 75 72 69 73  |p any unathouris|
000021b0  65 64 20 70 65 6f 70 6c  65 20 66 72 6f 6d 20 73  |ed people from s|
000021c0  65 65 69 6e 67 20 0d 20  20 20 20 20 20 79 6f 75  |eeing .      you|
000021d0  72 20 69 6e 66 6f 2e 2e  20 28 62 75 74 20 6d 61  |r info.. (but ma|
000021e0  6b 65 20 73 75 72 65 20  79 6f 75 20 72 65 6d 65  |ke sure you reme|
000021f0  6d 62 65 72 20 74 68 65  20 70 61 73 73 77 6f 72  |mber the passwor|
00002200  64 20 6f 72 20 79 6f 75  20 77 6f 6e 27 74 20 62  |d or you won't b|
00002210  65 20 0d 20 20 20 20 20  20 61 62 6c 65 20 74 6f  |e .      able to|
00002220  20 73 65 65 20 79 6f 75  72 20 66 69 6c 65 20 65  | see your file e|
00002230  69 74 68 65 72 21 29 2e  20 0d 20 20 20 20 4f 52  |ither!). .    OR|
00002240  44 45 52 20 54 68 69 73  20 63 61 6e 20 73 77 61  |DER This can swa|
00002250  70 20 74 77 6f 20 72 65  63 6f 72 64 73 20 77 69  |p two records wi|
00002260  74 68 20 65 61 63 68 20  6f 74 68 65 72 2c 20 77  |th each other, w|
00002270  68 69 63 68 20 65 6e 61  62 6c 65 73 20 79 6f 75  |hich enables you|
00002280  20 74 6f 20 0d 20 20 20  20 20 20 6d 6f 76 65 20  | to .      move |
00002290  74 68 65 20 72 65 63 6f  72 64 73 20 61 72 6f 75  |the records arou|
000022a0  6e 64 20 74 68 65 20 66  69 6c 65 20 73 6f 20 61  |nd the file so a|
000022b0  73 20 74 6f 20 70 75 74  20 74 68 65 6d 20 69 6e  |s to put them in|
000022c0  20 74 68 65 20 6f 72 64  65 72 20 79 6f 75 20 0d  | the order you .|
000022d0  20 20 20 20 20 20 77 61  6e 74 20 74 68 65 6d 2e  |      want them.|
000022e0  20 57 68 65 6e 20 79 6f  75 20 75 73 65 20 74 68  | When you use th|
000022f0  65 20 63 6f 6d 6d 61 6e  64 2c 20 79 6f 75 20 77  |e command, you w|
00002300  69 6c 6c 20 62 65 20 61  73 6b 65 64 20 66 6f 72  |ill be asked for|
00002310  20 74 77 6f 20 0d 20 20  20 20 20 20 72 65 63 6f  | two .      reco|
00002320  72 64 20 6e 75 6d 62 65  72 73 2c 20 77 68 69 63  |rd numbers, whic|
00002330  68 20 61 72 65 20 74 68  65 20 74 77 6f 20 74 6f  |h are the two to|
00002340  20 62 65 20 73 77 61 70  70 65 64 2e 20 0d 20 20  | be swapped. .  |
00002350  20 20 2a 4f 53 20 54 6f  20 61 63 63 65 73 73 20  |  *OS To access |
00002360  74 68 69 73 20 63 6f 6d  6d 61 6e 64 20 73 69 6d  |this command sim|
00002370  70 6c 79 20 6b 65 65 70  20 53 48 49 46 54 20 70  |ply keep SHIFT p|
00002380  72 65 73 73 65 64 20 61  6e 64 20 74 68 65 6e 20  |ressed and then |
00002390  68 69 74 20 74 68 65 20  0d 20 20 20 20 20 20 2a  |hit the .      *|
000023a0  20 6b 65 79 2e 20 41 20  2a 20 77 69 6c 6c 20 74  | key. A * will t|
000023b0  68 65 6e 20 63 6f 6d 65  20 6f 6e 74 6f 20 74 68  |hen come onto th|
000023c0  65 20 73 63 72 65 65 6e  2c 20 61 66 74 65 72 77  |e screen, afterw|
000023d0  68 69 63 68 20 79 6f 75  20 63 61 6e 20 65 6e 74  |hich you can ent|
000023e0  65 72 20 0d 20 20 20 20  20 20 79 6f 75 72 20 6f  |er .      your o|
000023f0  70 65 72 61 74 69 6e 67  20 73 79 73 74 65 6d 20  |perating system |
00002400  63 6f 6d 6d 61 6e 64 2e  20 54 68 69 73 20 65 6e  |command. This en|
00002410  61 62 6c 65 73 20 79 6f  75 20 74 6f 20 64 6f 20  |ables you to do |
00002420  74 68 69 6e 67 73 20 73  75 63 68 20 61 73 20 0d  |things such as .|
00002430  20 20 20 20 20 20 63 61  74 61 6c 6f 67 69 6e 67  |      cataloging|
00002440  20 61 20 64 69 73 63 20  28 2a 43 41 54 29 2c 20  | a disc (*CAT), |
00002450  6f 72 20 73 65 6c 65 63  74 69 6e 67 20 61 20 66  |or selecting a f|
00002460  69 6c 69 6e 67 20 73 79  73 74 65 6d 20 28 2a 44  |iling system (*D|
00002470  49 53 43 2c 20 2a 54 41  50 45 20 0d 20 20 20 20  |ISC, *TAPE .    |
00002480  20 20 65 74 63 29 2e 20  46 6f 72 20 6d 6f 72 65  |  etc). For more|
00002490  20 64 65 74 61 69 6c 73  20 6f 66 20 6f 70 65 72  | details of oper|
000024a0  61 74 69 6e 67 20 73 79  73 74 65 6d 20 63 6f 6d  |ating system com|
000024b0  6d 61 6e 64 73 2c 20 73  65 65 20 70 61 67 65 20  |mands, see page |
000024c0  34 31 36 20 6f 66 20 0d  20 20 20 20 20 20 74 68  |416 of .      th|
000024d0  65 20 75 73 65 72 20 67  75 69 64 65 2e 20 0d 20  |e user guide. . |
000024e0  20 20 20 50 52 49 4e 54  20 49 66 20 61 20 70 72  |   PRINT If a pr|
000024f0  69 6e 74 65 72 20 69 73  20 63 6f 6e 6e 65 63 74  |inter is connect|
00002500  65 64 20 74 6f 20 79 6f  75 72 20 63 6f 6d 70 75  |ed to your compu|
00002510  74 65 72 20 79 6f 75 20  77 69 6c 6c 20 62 65 20  |ter you will be |
00002520  61 62 6c 65 20 74 6f 20  0d 20 20 20 20 20 20 67  |able to .      g|
00002530  65 74 20 61 20 68 61 72  64 20 63 6f 70 79 20 6f  |et a hard copy o|
00002540  66 20 61 20 73 69 6e 67  6c 65 20 72 65 63 6f 72  |f a single recor|
00002550  64 2c 20 6f 72 20 74 68  65 20 77 68 6f 6c 65 20  |d, or the whole |
00002560  66 69 6c 65 2e 20 57 68  65 6e 20 70 72 69 6e 74  |file. When print|
00002570  69 6e 67 20 0d 20 20 20  20 20 20 6f 75 74 20 61  |ing .      out a|
00002580  6c 6c 20 74 68 65 20 72  65 63 6f 72 64 73 2c 20  |ll the records, |
00002590  79 6f 75 20 77 69 6c 6c  20 62 65 20 61 73 6b 65  |you will be aske|
000025a0  64 20 66 6f 72 20 61 6e  20 69 6e 74 65 72 2d 72  |d for an inter-r|
000025b0  65 63 6f 72 64 20 73 70  61 63 65 20 0d 20 20 20  |ecord space .   |
000025c0  20 20 20 63 68 61 72 61  63 74 65 72 20 77 68 69  |   character whi|
000025d0  63 68 20 77 69 6c 6c 20  62 65 20 70 72 69 6e 74  |ch will be print|
000025e0  65 64 20 69 6e 20 61 20  6c 6f 6e 67 20 6c 69 6e  |ed in a long lin|
000025f0  65 20 74 6f 20 73 65 70  65 72 61 74 65 20 65 61  |e to seperate ea|
00002600  63 68 20 0d 20 20 20 20  20 20 72 65 63 6f 72 64  |ch .      record|
00002610  20 6f 6e 20 74 68 65 20  70 61 70 65 72 20 28 61  | on the paper (a|
00002620  20 73 75 69 74 61 62 6c  65 20 63 68 61 72 61 63  | suitable charac|
00002630  74 65 72 20 69 73 20 61  20 27 2d 27 29 2e 20 0d  |ter is a '-'). .|
00002640  20 20 20 20 52 45 53 45  54 20 57 68 65 6e 20 79  |    RESET When y|
00002650  6f 75 20 70 72 65 73 73  20 27 52 27 20 74 68 69  |ou press 'R' thi|
00002660  73 20 77 69 70 65 73 20  74 68 65 20 6d 65 6d 6f  |s wipes the memo|
00002670  72 79 20 77 68 65 72 65  20 74 68 65 20 63 75 72  |ry where the cur|
00002680  72 65 6e 74 20 66 69 6c  65 20 0d 20 20 20 20 20  |rent file .     |
00002690  20 69 73 20 73 74 6f 72  65 64 2c 20 74 68 75 73  | is stored, thus|
000026a0  20 77 69 70 69 6e 67 20  6f 75 74 20 74 68 65 20  | wiping out the |
000026b0  66 69 6c 65 2e 20 55 73  65 20 74 68 69 73 20 63  |file. Use this c|
000026c0  6f 6d 6d 61 6e 64 20 63  61 72 65 66 75 6c 6c 79  |ommand carefully|
000026d0  2c 20 61 6e 64 20 0d 20  20 20 20 20 20 6d 61 6b  |, and .      mak|
000026e0  65 20 73 75 72 65 20 74  68 61 74 20 79 6f 75 20  |e sure that you |
000026f0  68 61 76 65 20 73 61 76  65 64 20 74 68 65 20 66  |have saved the f|
00002700  69 6c 65 20 62 65 66 6f  72 65 20 75 73 69 6e 67  |ile before using|
00002710  20 52 45 53 45 54 2e 20  0d 20 20 20 20 53 45 41  | RESET. .    SEA|
00002720  52 43 48 20 54 68 69 73  20 63 6f 6d 6d 61 6e 64  |RCH This command|
00002730  20 65 6e 61 62 6c 65 73  20 79 6f 75 20 74 6f 20  | enables you to |
00002740  66 69 6e 64 20 61 20 72  65 63 6f 72 64 20 71 75  |find a record qu|
00002750  69 63 6b 6c 79 20 62 79  20 61 73 6b 69 6e 67 20  |ickly by asking |
00002760  66 6f 72 20 0d 0d 0d 20  20 20 20 20 20 20 20 20  |for ...         |
00002770  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00002780  20 20 20 20 20 20 20 20  20 20 20 50 61 67 65 20  |           Page |
00002790  33 0d 0d 0d 0d 0d 0d 20  20 20 20 20 20 20 20 20  |3......         |
000027a0  20 20 20 20 20 20 20 20  20 20 20 20 41 20 44 41  |            A DA|
000027b0  54 41 2d 42 41 53 45 20  53 59 53 54 45 4d 20 62  |TA-BASE SYSTEM b|
000027c0  79 20 52 4f 42 20 41 4e  44 45 52 53 4f 4e 2e 0d  |y ROB ANDERSON..|
000027d0  0d 0d 0d 20 20 20 20 20  20 61 20 73 65 61 72 63  |...      a searc|
000027e0  68 20 72 65 63 6f 72 64  2c 20 61 66 74 65 72 77  |h record, afterw|
000027f0  68 69 63 68 20 69 74 20  77 69 6c 6c 20 73 65 61  |hich it will sea|
00002800  72 63 68 20 74 68 65 20  66 69 6c 65 20 66 6f 72  |rch the file for|
00002810  20 61 6e 6f 74 68 65 72  20 0d 20 20 20 20 20 20  | another .      |
00002820  72 65 63 6f 72 64 20 74  68 61 74 20 69 73 20 74  |record that is t|
00002830  68 65 20 63 6c 6f 73 65  73 74 20 6d 61 74 63 68  |he closest match|
00002840  2e 20 55 70 6f 6e 20 64  65 63 69 64 69 6e 67 20  |. Upon deciding |
00002850  77 68 69 63 68 20 69 73  20 74 68 65 20 62 65 73  |which is the bes|
00002860  74 20 0d 20 20 20 20 20  20 62 65 74 2c 20 69 74  |t .      bet, it|
00002870  20 77 69 6c 6c 20 70 72  69 6e 74 20 6f 75 74 20  | will print out |
00002880  74 68 65 20 63 6c 6f 73  65 73 74 20 6d 61 74 63  |the closest matc|
00002890  68 69 6e 67 20 72 65 63  6f 72 64 2e 20 53 6f 2c  |hing record. So,|
000028a0  20 66 6f 72 20 65 78 61  6d 70 6c 65 2c 20 0d 20  | for example, . |
000028b0  20 20 20 20 20 69 66 20  79 6f 75 20 77 61 6e 74  |     if you want|
000028c0  65 64 20 74 6f 20 6b 6e  6f 77 20 4d 69 6b 65 27  |ed to know Mike'|
000028d0  73 20 70 68 6f 6e 65 20  6e 75 6d 62 65 72 2c 20  |s phone number, |
000028e0  79 6f 75 20 77 6f 75 6c  64 20 65 6e 74 65 72 20  |you would enter |
000028f0  4d 69 6b 65 20 69 6e 74  6f 20 0d 20 20 20 20 20  |Mike into .     |
00002900  20 74 68 65 20 6e 61 6d  65 20 66 69 65 6c 64 2c  | the name field,|
00002910  20 61 6e 64 20 74 68 65  6e 20 74 68 65 20 63 6f  | and then the co|
00002920  6d 70 75 74 65 72 20 77  6f 75 6c 64 20 63 6f 6d  |mputer would com|
00002930  65 20 75 70 20 77 69 74  68 20 74 68 65 20 72 65  |e up with the re|
00002940  73 74 20 6f 66 20 0d 20  20 20 20 20 20 68 69 73  |st of .      his|
00002950  20 72 65 63 6f 72 64 2e  20 49 66 20 74 68 65 72  | record. If ther|
00002960  65 20 77 65 72 65 20 74  77 6f 20 4d 69 6b 65 27  |e were two Mike'|
00002970  73 20 69 6e 20 74 68 65  20 66 69 6c 65 20 74 68  |s in the file th|
00002980  65 6e 20 79 6f 75 20 77  6f 75 6c 64 20 68 61 76  |en you would hav|
00002990  65 20 0d 20 20 20 20 20  20 74 6f 20 73 70 65 63  |e .      to spec|
000029a0  69 66 79 20 68 69 73 20  73 65 63 6f 6e 64 20 6e  |ify his second n|
000029b0  61 6d 65 20 69 6e 20 74  68 65 20 73 65 61 72 63  |ame in the searc|
000029c0  68 20 72 65 63 6f 72 64  20 28 69 2e 65 2e 20 4d  |h record (i.e. M|
000029d0  49 4b 45 20 44 49 58 4f  4e 29 2e 20 0d 20 20 20  |IKE DIXON). .   |
000029e0  20 20 0d 0d 0d 0d 0d 0d  0d 0d 0d 0d 0d 0d 0d 0d  |  ..............|
000029f0  0d 0d 0d 0d 0d 0d 0d 0d  0d 0d 0d 0d 0d 0d 0d 0d  |................|
*
00002a10  0d 0d 0d 0d 0d 0d 0d 0d  0d 20 20 20 20 20 20 20  |.........       |
00002a20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00002a30  20 20 20 20 20 20 20 20  20 20 20 20 20 50 61 67  |             Pag|
00002a40  65 20 34 0d 0d 0d 0d 0d  0d 20 20 20 20 20 20 20  |e 4......       |
00002a50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 41 20  |              A |
00002a60  44 41 54 41 2d 42 41 53  45 20 53 59 53 54 45 4d  |DATA-BASE SYSTEM|
00002a70  20 62 79 20 52 4f 42 20  41 4e 44 45 52 53 4f 4e  | by ROB ANDERSON|
00002a80  2e 0d 0d 0d 0d 20 20 20  20 20 0d 20 20 20 20 54  |.....     .    T|
00002a90  45 43 48 4e 49 43 41 4c  20 50 4f 49 4e 54 53 20  |ECHNICAL POINTS |
00002aa0  4f 46 20 54 48 45 20 50  52 4f 47 52 41 4d 20 3a  |OF THE PROGRAM :|
00002ab0  20 0d 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  | .     .        |
00002ac0  20 44 41 54 41 42 41 53  45 20 69 73 20 77 72 69  | DATABASE is wri|
00002ad0  74 74 65 6e 20 74 68 65  20 77 61 79 20 6d 6f 73  |tten the way mos|
00002ae0  74 20 70 72 6f 67 72 61  6d 73 20 61 72 65 3b 20  |t programs are; |
00002af0  61 20 62 69 67 20 6d 61  69 6e 20 70 72 6f 67 72  |a big main progr|
00002b00  61 6d 20 0d 20 20 20 20  6c 6f 6f 70 20 61 74 20  |am .    loop at |
00002b10  74 68 65 20 62 65 67 69  6e 6e 69 6e 67 2c 20 66  |the beginning, f|
00002b20  6f 6c 6c 6f 77 65 64 20  62 79 20 6c 6f 61 64 73  |ollowed by loads|
00002b30  20 6f 66 20 70 72 6f 63  65 64 75 72 65 73 20 74  | of procedures t|
00002b40  68 61 74 20 61 72 65 20  63 61 6c 6c 65 64 20 0d  |hat are called .|
00002b50  20 20 20 20 75 70 20 66  72 6f 6d 20 74 68 69 73  |    up from this|
00002b60  20 6c 6f 6f 70 2e 20 42  65 63 61 75 73 65 20 6f  | loop. Because o|
00002b70  66 20 74 68 69 73 20 74  68 65 20 70 72 6f 67 72  |f this the progr|
00002b80  61 6d 20 69 73 20 71 75  69 74 65 20 65 61 73 79  |am is quite easy|
00002b90  20 74 6f 20 0d 20 20 20  20 66 6f 6c 6c 6f 77 2c  | to .    follow,|
00002ba0  20 77 69 74 68 20 65 61  63 68 20 63 6f 6d 6d 61  | with each comma|
00002bb0  6e 64 20 62 65 69 6e 67  20 61 6c 6c 6f 63 61 74  |nd being allocat|
00002bc0  65 64 20 61 20 73 65 70  61 72 61 74 65 20 73 75  |ed a separate su|
00002bd0  62 72 6f 75 74 69 6e 65  20 28 73 65 65 20 0d 20  |broutine (see . |
00002be0  20 20 20 6c 69 73 74 20  6f 66 20 70 72 6f 63 65  |   list of proce|
00002bf0  64 75 72 65 73 29 2e 20  57 68 65 72 65 20 73 70  |dures). Where sp|
00002c00  65 65 64 20 69 73 20 69  6d 70 6f 72 74 61 6e 74  |eed is important|
00002c10  20 28 65 2e 67 2e 20 77  68 65 6e 20 70 72 69 6e  | (e.g. when prin|
00002c20  74 69 6e 67 20 61 20 0d  20 20 20 20 72 65 63 6f  |ting a .    reco|
00002c30  72 64 20 77 68 69 6c 65  20 73 63 61 6e 6e 69 6e  |rd while scannin|
00002c40  67 29 2c 20 74 68 65 20  70 72 6f 67 72 61 6d 20  |g), the program |
00002c50  68 61 73 20 62 65 65 6e  20 63 6f 64 65 64 20 61  |has been coded a|
00002c60  63 63 6f 72 64 69 6e 67  6c 79 2c 20 75 73 69 6e  |ccordingly, usin|
00002c70  67 20 0d 20 20 20 20 69  6e 74 65 67 65 72 20 76  |g .    integer v|
00002c80  61 72 69 61 62 6c 65 73  20 65 74 63 2e 2e 20 0d  |ariables etc.. .|
00002c90  20 20 20 20 20 0d 20 20  20 20 20 20 20 20 20 54  |     .         T|
00002ca0  68 65 20 63 6f 64 69 6e  67 20 74 6f 20 70 65 72  |he coding to per|
00002cb0  66 6f 72 6d 20 65 61 63  68 20 6f 66 20 74 68 65  |form each of the|
00002cc0  20 66 65 61 74 75 72 65  73 20 69 73 20 66 61 69  | features is fai|
00002cd0  72 6c 79 20 73 74 61 6e  64 61 72 64 2c 20 0d 20  |rly standard, . |
00002ce0  20 20 20 62 75 74 20 77  69 74 68 20 61 20 66 65  |   but with a fe|
00002cf0  77 20 65 78 63 65 70 74  69 6f 6e 73 3b 20 74 68  |w exceptions; th|
00002d00  65 20 73 61 76 65 20 61  6e 64 20 6c 6f 61 64 20  |e save and load |
00002d10  66 75 6e 63 74 69 6f 6e  73 20 64 6f 20 74 68 65  |functions do the|
00002d20  69 72 20 6a 6f 62 20 62  79 20 0d 20 20 20 20 73  |ir job by .    s|
00002d30  61 76 69 6e 67 20 74 68  65 20 66 69 6c 65 20 61  |aving the file a|
00002d40  73 20 6f 6e 65 20 62 69  67 20 62 6c 6f 63 6b 20  |s one big block |
00002d50  6f 66 20 6d 65 6d 6f 72  79 20 28 69 2e 65 20 75  |of memory (i.e u|
00002d60  73 69 6e 67 20 2a 4c 4f  41 44 20 61 6e 64 20 0d  |sing *LOAD and .|
00002d70  20 20 20 20 2a 53 41 56  45 29 2c 20 77 68 69 63  |    *SAVE), whic|
00002d80  68 20 69 6e 69 74 69 61  6c 6c 79 20 70 6f 73 65  |h initially pose|
00002d90  73 20 61 20 70 72 6f 62  6c 65 6d 20 62 65 63 61  |s a problem beca|
00002da0  75 73 65 20 79 6f 75 20  63 61 6e 6e 6f 74 20 73  |use you cannot s|
00002db0  70 65 63 69 66 79 20 61  20 0d 20 20 20 20 66 69  |pecify a .    fi|
00002dc0  6c 65 6e 61 6d 65 20 69  6e 20 61 20 76 61 72 69  |lename in a vari|
00002dd0  61 62 6c 65 20 69 6e 20  74 68 69 73 20 63 61 73  |able in this cas|
00002de0  65 2c 20 73 6f 20 61 20  73 74 72 69 6e 67 20 68  |e, so a string h|
00002df0  61 64 20 74 6f 20 62 65  20 62 75 69 6c 74 20 75  |ad to be built u|
00002e00  70 20 69 6e 20 0d 20 20  20 20 6d 65 6d 6f 72 79  |p in .    memory|
00002e10  2c 20 61 6e 64 20 74 68  65 6e 20 70 61 73 73 65  |, and then passe|
00002e20  64 20 6f 6e 74 6f 20 74  68 65 20 63 6f 6d 6d 61  |d onto the comma|
00002e30  6e 64 20 6c 69 6e 65 20  69 6e 74 65 72 70 72 65  |nd line interpre|
00002e40  74 65 72 20 28 61 74 20  26 46 46 46 37 29 2e 20  |ter (at &FFF7). |
00002e50  0d 20 20 20 20 20 20 20  20 20 41 6c 74 68 6f 75  |.         Althou|
00002e60  67 68 20 69 6e 20 42 41  53 49 43 32 20 74 68 65  |gh in BASIC2 the|
00002e70  20 63 6f 6d 6d 61 6e 64  20 4f 53 43 4c 49 20 63  | command OSCLI c|
00002e80  6f 75 6c 64 20 62 65 20  75 73 65 64 2c 20 74 68  |ould be used, th|
00002e90  65 20 77 61 79 20 69 74  20 69 73 20 0d 20 20 20  |e way it is .   |
00002ea0  20 65 6e 73 75 72 65 73  20 63 6f 6d 70 61 74 69  | ensures compati|
00002eb0  62 69 6c 69 74 79 20 77  69 74 68 20 42 41 53 49  |bility with BASI|
00002ec0  43 31 2e 20 41 6e 6f 74  68 65 72 20 75 6e 75 73  |C1. Another unus|
00002ed0  75 61 6c 20 70 6f 69 6e  74 20 6f 66 20 74 68 65  |ual point of the|
00002ee0  20 0d 20 20 20 20 70 72  6f 67 72 61 6d 20 69 73  | .    program is|
00002ef0  20 74 68 65 20 65 78 74  65 6e 73 69 76 65 20 75  | the extensive u|
00002f00  73 65 20 6f 66 20 69 6e  64 69 72 65 63 74 69 6f  |se of indirectio|
00002f10  6e 20 6f 70 65 72 61 74  6f 72 73 20 74 6f 20 73  |n operators to s|
00002f20  74 6f 72 65 20 74 68 65  20 0d 20 20 20 20 72 65  |tore the .    re|
00002f30  63 6f 72 64 73 20 64 69  72 65 63 74 6c 79 20 69  |cords directly i|
00002f40  6e 20 6d 65 6d 6f 72 79  20 77 68 69 63 68 2c 20  |n memory which, |
00002f50  77 68 69 6c 65 20 76 65  72 79 20 6c 61 62 6f 72  |while very labor|
00002f60  69 6f 75 73 20 74 6f 20  70 72 6f 67 72 61 6d 20  |ious to program |
00002f70  69 6e 20 0d 20 20 20 20  77 68 65 6e 20 63 6f 6d  |in .    when com|
00002f80  70 61 72 65 64 20 74 6f  20 74 68 65 20 65 61 73  |pared to the eas|
00002f90  65 20 6f 66 20 75 73 65  20 6f 66 20 61 72 72 61  |e of use of arra|
00002fa0  79 73 2c 20 64 6f 65 73  20 68 61 76 65 20 69 74  |ys, does have it|
00002fb0  73 20 72 65 6c 65 76 61  6e 74 20 0d 20 20 20 20  |s relevant .    |
00002fc0  6d 65 72 69 74 73 20 74  68 61 74 20 61 72 65 20  |merits that are |
00002fd0  65 78 70 6c 61 69 6e 65  64 20 6c 61 74 65 72 2e  |explained later.|
00002fe0  20 0d 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  | .     .        |
00002ff0  20 49 74 20 63 61 6e 20  62 65 20 73 65 65 6e 20  | It can be seen |
00003000  74 68 61 74 20 2a 46 58  32 30 30 2c 31 20 61 6e  |that *FX200,1 an|
00003010  64 20 2a 46 58 32 30 30  2c 30 20 61 72 65 20 75  |d *FX200,0 are u|
00003020  73 65 64 20 61 20 6c 6f  74 2c 20 77 68 69 63 68  |sed a lot, which|
00003030  20 0d 20 20 20 20 65 6e  61 62 6c 65 20 61 6e 64  | .    enable and|
00003040  20 64 69 73 61 62 6c 65  20 74 68 65 20 45 53 43  | disable the ESC|
00003050  41 50 45 20 6b 65 79 2e  20 54 68 65 20 72 65 61  |APE key. The rea|
00003060  73 6f 6e 20 69 73 20 74  68 61 74 20 77 68 69 6c  |son is that whil|
00003070  65 20 74 68 65 20 65 73  63 61 70 65 20 0d 20 20  |e the escape .  |
00003080  20 20 6b 65 79 20 77 6f  72 6b 73 20 6d 6f 73 74  |  key works most|
00003090  20 6f 66 20 74 68 65 20  74 69 6d 65 2c 20 65 6e  | of the time, en|
000030a0  61 62 6c 69 6e 67 20 79  6f 75 20 74 6f 20 67 65  |abling you to ge|
000030b0  74 20 6f 75 74 20 6f 66  20 61 20 63 6f 6d 6d 61  |t out of a comma|
000030c0  6e 64 20 74 68 61 74 20  0d 20 20 20 20 79 6f 75  |nd that .    you|
000030d0  20 61 63 63 69 64 65 6e  74 6c 79 20 65 6e 74 65  | accidently ente|
000030e0  72 65 64 2c 20 69 74 20  63 6f 75 6c 64 20 62 65  |red, it could be|
000030f0  20 64 61 6e 67 65 72 6f  75 73 20 74 6f 20 65 73  | dangerous to es|
00003100  63 61 70 65 20 77 68 65  6e 2c 20 66 6f 72 20 0d  |cape when, for .|
00003110  20 20 20 20 65 78 61 6d  70 6c 65 2c 20 64 65 6c  |    example, del|
00003120  65 74 69 6e 67 20 61 20  72 65 63 6f 72 64 20 62  |eting a record b|
00003130  65 63 61 75 73 65 20 69  66 20 45 53 43 41 50 45  |ecause if ESCAPE|
00003140  20 77 61 73 20 70 72 65  73 73 65 64 20 77 68 69  | was pressed whi|
00003150  6c 65 20 74 68 65 20 0d  20 20 20 20 70 72 6f 67  |le the .    prog|
00003160  72 61 6d 20 77 61 73 20  73 68 69 66 74 69 6e 67  |ram was shifting|
00003170  20 61 6c 6c 20 74 68 65  20 66 6f 6c 6c 6f 77 69  | all the followi|
00003180  6e 67 20 72 65 63 6f 72  64 73 20 6f 6e 20 74 6f  |ng records on to|
00003190  70 20 6f 66 20 74 68 65  20 64 65 6c 65 74 65 64  |p of the deleted|
000031a0  20 0d 20 20 20 20 72 65  63 6f 72 64 2c 20 74 68  | .    record, th|
000031b0  65 20 77 68 6f 6c 65 20  66 69 6c 65 20 63 6f 75  |e whole file cou|
000031c0  6c 64 20 62 65 20 63 6f  72 72 75 70 74 65 64 2e  |ld be corrupted.|
000031d0  20 53 6f 20 74 6f 20 70  72 65 76 65 6e 74 20 74  | So to prevent t|
000031e0  68 69 73 20 74 68 65 20  0d 20 20 20 20 65 73 63  |his the .    esc|
000031f0  61 70 65 20 6b 65 79 20  69 73 20 64 69 73 61 62  |ape key is disab|
00003200  6c 65 64 20 6a 75 73 74  20 62 65 66 6f 72 65 20  |led just before |
00003210  74 68 65 20 72 6f 75 74  69 6e 65 20 69 73 20 65  |the routine is e|
00003220  6e 74 65 72 65 64 2c 20  61 6e 64 20 74 68 65 6e  |ntered, and then|
00003230  20 0d 20 20 20 20 65 6e  61 62 6c 65 64 20 61 66  | .    enabled af|
00003240  74 65 72 20 6c 65 61 76  69 6e 67 20 74 68 65 20  |ter leaving the |
00003250  72 6f 75 74 69 6e 65 2e  20 54 68 69 73 20 69 73  |routine. This is|
00003260  20 64 6f 6e 65 20 77 69  74 68 20 6d 6f 73 74 20  | done with most |
00003270  6f 66 20 74 68 65 20 0d  20 20 20 20 72 6f 75 74  |of the .    rout|
00003280  69 6e 65 73 2e 20 0d 20  20 20 20 20 0d 20 20 20  |ines. .     .   |
00003290  20 20 20 20 20 20 54 68  65 20 73 65 61 72 63 68  |      The search|
000032a0  20 72 6f 75 74 69 6e 65  20 75 73 65 64 20 69 6e  | routine used in|
000032b0  20 74 68 65 20 70 72 6f  67 72 61 6d 20 77 6f 72  | the program wor|
000032c0  6b 73 20 6f 6e 20 61 20  74 6f 6b 65 6e 20 62 61  |ks on a token ba|
000032d0  73 69 73 2c 20 0d 20 20  20 20 67 69 76 69 6e 67  |sis, .    giving|
000032e0  20 70 6f 69 6e 74 73 20  66 6f 72 20 65 61 63 68  | points for each|
000032f0  20 66 69 65 6c 64 20 6f  66 20 61 20 72 65 63 6f  | field of a reco|
00003300  72 64 20 74 68 61 74 20  6d 61 74 63 68 65 73 20  |rd that matches |
00003310  77 69 74 68 20 74 68 65  20 73 65 61 72 63 68 20  |with the search |
00003320  0d 20 20 20 20 72 65 63  6f 72 64 2c 20 61 6e 64  |.    record, and|
00003330  20 74 68 65 6e 20 70 72  69 6e 74 69 6e 67 20 6f  | then printing o|
00003340  75 74 20 74 68 65 20 72  65 63 6f 72 64 20 74 68  |ut the record th|
00003350  61 74 20 67 6f 74 20 6d  6f 73 74 20 70 6f 69 6e  |at got most poin|
00003360  74 73 2e 20 49 66 20 74  77 6f 20 0d 20 20 20 20  |ts. If two .    |
00003370  72 65 63 6f 72 64 73 20  67 65 74 20 74 68 65 20  |records get the |
00003380  73 61 6d 65 20 70 6f 69  6e 74 73 2c 20 74 68 65  |same points, the|
00003390  20 66 69 72 73 74 20 6f  6e 65 20 65 6e 63 6f 75  | first one encou|
000033a0  6e 74 65 72 65 64 20 69  6e 20 74 68 65 20 66 69  |ntered in the fi|
000033b0  6c 65 20 69 73 20 0d 20  20 20 20 6f 75 74 70 75  |le is .    outpu|
000033c0  74 2c 20 61 6e 64 20 62  65 63 61 75 73 65 20 6f  |t, and because o|
000033d0  66 20 74 68 69 73 20 69  74 20 69 73 20 61 6c 77  |f this it is alw|
000033e0  61 79 73 20 62 65 73 74  20 74 6f 20 70 75 74 20  |ays best to put |
000033f0  61 73 20 6d 75 63 68 20  0d 20 20 20 20 69 6e 66  |as much .    inf|
00003400  6f 72 6d 61 74 69 6f 6e  20 69 6e 20 74 68 65 20  |ormation in the |
00003410  73 65 61 72 63 68 20 72  65 63 6f 72 64 20 61 73  |search record as|
00003420  20 79 6f 75 20 63 61 6e  20 72 65 6d 65 6d 62 65  | you can remembe|
00003430  72 2e 20 0d 20 20 20 20  20 0d 20 20 20 20 20 0d  |r. .     .     .|
00003440  20 20 20 20 50 52 4f 43  45 44 55 52 45 53 20 20  |    PROCEDURES  |
00003450  20 4c 49 4e 45 20 4e 4f  53 20 20 44 45 53 43 52  | LINE NOS  DESCR|
00003460  49 50 54 49 4f 4e 20 0d  20 20 20 20 20 0d 20 20  |IPTION .     .  |
00003470  20 20 69 6e 69 74 69 61  6c 69 73 65 20 20 20 33  |  initialise   3|
00003480  31 30 20 20 20 20 20 20  20 49 6e 69 74 69 61 6c  |10       Initial|
00003490  69 73 65 73 20 76 61 72  69 61 62 6c 65 73 20 65  |ises variables e|
000034a0  74 63 2e 2e 20 0d 20 20  20 20 63 68 65 63 6b 65  |tc.. .    checke|
000034b0  72 72 6f 72 20 20 20 33  37 30 20 20 20 20 20 20  |rror   370      |
000034c0  20 41 6e 61 6c 79 73 65  73 20 65 72 72 6f 72 20  | Analyses error |
000034d0  26 20 72 65 61 63 74 73  20 61 63 6f 72 64 69 6e  |& reacts acordin|
000034e0  67 6c 79 2e 20 0d 20 20  20 20 73 65 74 73 63 72  |gly. .    setscr|
000034f0  65 65 6e 20 20 20 20 33  39 30 20 20 20 20 20 20  |een    390      |
00003500  20 53 65 74 73 20 75 70  20 73 63 72 65 65 6e 2e  | Sets up screen.|
00003510  20 0d 20 20 20 20 61 20  20 20 20 20 20 20 20 20  | .    a         |
00003520  20 20 20 34 38 30 20 20  20 20 20 20 20 50 65 72  |   480       Per|
00003530  66 6f 72 6d 73 20 41 44  44 20 63 6f 6d 6d 61 6e  |forms ADD comman|
00003540  64 2e 20 0d 20 20 20 20  62 20 20 20 20 20 20 20  |d. .    b       |
00003550  20 20 20 20 20 36 32 30  20 20 20 20 20 20 20 50  |     620       P|
00003560  65 72 66 6f 72 6d 73 20  42 41 43 4b 20 63 6f 6d  |erforms BACK com|
00003570  6d 61 6e 64 2e 20 0d 20  20 20 20 64 20 20 20 20  |mand. .    d    |
00003580  20 20 20 20 20 20 20 20  36 39 30 20 20 20 20 20  |        690     |
00003590  20 20 50 65 72 66 6f 72  6d 73 20 44 45 4c 45 54  |  Performs DELET|
000035a0  45 20 63 6f 6d 6d 61 6e  64 2e 20 0d 20 20 20 20  |E command. .    |
000035b0  65 20 20 20 20 20 20 20  20 20 20 20 20 38 37 30  |e            870|
000035c0  20 20 20 20 20 20 20 50  65 72 66 6f 72 6d 73 20  |       Performs |
000035d0  45 44 49 54 20 63 6f 6d  6d 61 6e 64 2e 20 0d 20  |EDIT command. . |
000035e0  20 20 20 66 20 20 20 20  20 20 20 20 20 20 20 20  |   f            |
000035f0  31 31 32 30 20 20 20 20  20 20 50 65 72 66 6f 72  |1120      Perfor|
00003600  6d 73 20 46 4f 52 57 41  52 44 20 63 6f 6d 6d 61  |ms FORWARD comma|
00003610  6e 64 2e 20 0d 20 20 20  20 68 20 20 20 20 20 20  |nd. .    h      |
00003620  20 20 20 20 20 20 31 31  39 30 20 20 20 20 20 20  |      1190      |
00003630  50 65 72 66 6f 72 6d 73  20 48 45 4c 50 20 63 6f  |Performs HELP co|
00003640  6d 6d 61 6e 64 2e 20 0d  20 20 20 20 6b 20 20 20  |mmand. .    k   |
00003650  20 20 20 20 20 20 20 20  20 31 32 32 30 20 20 20  |         1220   |
00003660  20 20 20 50 65 72 66 6f  72 6d 73 20 4b 45 45 50  |   Performs KEEP|
00003670  20 63 6f 6d 6d 61 6e 64  2e 20 0d 20 20 20 20 6c  | command. .    l|
00003680  20 20 20 20 20 20 20 20  20 20 20 20 31 32 39 30  |            1290|
00003690  20 20 20 20 20 20 50 65  72 66 6f 72 6d 73 20 4c  |      Performs L|
000036a0  4f 41 44 20 63 6f 6d 6d  61 6e 64 2e 20 0d 20 20  |OAD command. .  |
000036b0  20 20 6e 20 20 20 20 20  20 20 20 20 20 20 20 31  |  n            1|
000036c0  33 39 30 20 20 20 20 20  20 50 65 72 66 6f 72 6d  |390      Perform|
000036d0  73 20 4e 45 57 20 63 6f  6d 6d 61 6e 64 2e 20 0d  |s NEW command. .|
000036e0  20 20 20 20 6f 20 20 20  20 20 20 20 20 20 20 20  |    o           |
000036f0  20 31 37 37 30 20 20 20  20 20 20 50 65 72 66 6f  | 1770      Perfo|
00003700  72 6d 73 20 2a 4f 53 20  63 6f 6d 6d 61 6e 64 2e  |rms *OS command.|
00003710  20 0d 20 20 20 20 70 20  20 20 20 20 20 20 20 20  | .    p         |
00003720  20 20 20 31 38 31 30 20  20 20 20 20 20 50 65 72  |   1810      Per|
00003730  66 6f 72 6d 73 20 50 52  49 4e 54 20 63 6f 6d 6d  |forms PRINT comm|
00003740  61 6e 64 2e 20 0d 20 20  20 20 73 20 20 20 20 20  |and. .    s     |
00003750  20 20 20 20 20 20 20 31  39 38 30 20 20 20 20 20  |       1980     |
00003760  20 50 65 72 66 6f 72 6d  73 20 53 45 41 52 43 48  | Performs SEARCH|
00003770  20 63 6f 6d 6d 61 6e 64  2e 20 0d 0d 0d 20 20 20  | command. ...   |
00003780  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000037a0  20 50 61 67 65 20 35 0d  0d 0d 0d 0d 0d 20 20 20  | Page 5......   |
000037b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000037c0  20 20 41 20 44 41 54 41  2d 42 41 53 45 20 53 59  |  A DATA-BASE SY|
000037d0  53 54 45 4d 20 62 79 20  52 4f 42 20 41 4e 44 45  |STEM by ROB ANDE|
000037e0  52 53 4f 4e 2e 0d 0d 0d  0d 20 20 20 20 72 20 20  |RSON.....    r  |
000037f0  20 20 20 20 20 20 20 20  20 20 32 32 33 30 20 20  |          2230  |
00003800  20 20 20 20 50 65 72 66  6f 72 6d 73 20 52 45 53  |    Performs RES|
00003810  45 54 20 63 6f 6d 6d 61  6e 64 2e 20 0d 20 20 20  |ET command. .   |
00003820  20 6f 72 20 20 20 20 20  20 20 20 20 20 20 32 32  | or           22|
00003830  35 30 20 20 20 20 20 20  50 65 72 66 6f 72 6d 73  |50      Performs|
00003840  20 4f 52 44 45 52 20 63  6f 6d 6d 61 6e 64 2e 20  | ORDER command. |
00003850  0d 20 20 20 20 74 6f 70  77 20 20 20 20 20 20 20  |.    topw       |
00003860  20 20 32 33 39 30 20 20  20 20 20 20 53 65 74 73  |  2390      Sets|
00003870  20 74 6f 70 20 74 65 78  74 20 77 69 6e 64 6f 77  | top text window|
00003880  2e 20 0d 20 20 20 20 62  6f 74 77 20 20 20 20 20  |. .    botw     |
00003890  20 20 20 20 32 34 31 30  20 20 20 20 20 20 53 65  |    2410      Se|
000038a0  74 73 20 62 6f 74 74 6f  6d 20 74 65 78 74 20 77  |ts bottom text w|
000038b0  69 6e 64 6f 77 2e 20 0d  20 20 20 20 6f 70 74 69  |indow. .    opti|
000038c0  6f 6e 73 20 20 20 20 20  20 32 34 33 30 20 20 20  |ons      2430   |
000038d0  20 20 20 50 72 69 6e 74  73 20 6f 75 74 20 63 6f  |   Prints out co|
000038e0  6d 6d 61 6e 64 73 20 61  76 61 69 6c 61 62 6c 65  |mmands available|
000038f0  20 69 6e 20 20 20 20 20  20 20 20 20 20 20 20 20  | in             |
00003900  20 20 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  |   .            |
00003910  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |               t|
00003920  68 65 20 74 6f 70 20 74  65 78 74 20 77 69 6e 64  |he top text wind|
00003930  6f 77 2e 20 0d 20 20 20  20 74 69 74 6c 65 20 20  |ow. .    title  |
00003940  20 20 20 20 20 20 32 34  35 30 20 20 20 20 20 20  |      2450      |
00003950  50 72 69 6e 74 73 20 63  6f 6d 6d 61 6e 64 20 74  |Prints command t|
00003960  68 61 74 20 68 61 73 20  6a 75 73 74 20 62 65 65  |hat has just bee|
00003970  6e 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |n               |
00003980  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00003990  20 20 20 20 20 20 20 20  20 20 20 20 73 65 6c 65  |            sele|
000039a0  63 74 65 64 20 69 6e 20  61 20 27 70 72 65 74 74  |cted in a 'prett|
000039b0  79 27 20 62 6c 75 65 20  62 6f 78 21 20 0d 20 20  |y' blue box! .  |
000039c0  20 20 73 70 20 20 20 20  20 20 20 20 20 20 20 32  |  sp           2|
000039d0  34 37 30 20 20 20 20 20  20 41 73 6b 73 20 75 73  |470      Asks us|
000039e0  65 72 20 74 6f 20 70 72  65 73 73 20 74 68 65 20  |er to press the |
000039f0  73 70 61 63 65 20 62 61  72 20 74 6f 20 20 20 20  |space bar to    |
00003a00  20 20 20 20 20 20 20 20  20 0d 20 20 20 20 20 20  |         .      |
00003a10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003a20  20 20 20 20 20 63 6f 6e  74 69 6e 75 65 2e 20 0d  |     continue. .|
00003a30  20 20 20 20 73 75 72 65  20 20 20 20 20 20 20 20  |    sure        |
00003a40  20 32 34 39 30 20 20 20  20 20 20 41 73 6b 73 20  | 2490      Asks |
00003a50  69 66 20 79 6f 75 20 72  65 61 6c 6c 79 20 77 61  |if you really wa|
00003a60  6e 74 20 74 6f 20 20 20  20 20 20 20 20 20 20 20  |nt to           |
00003a70  20 20 20 20 20 20 20 20  20 20 20 0d 20 20 20 20  |           .    |
00003a80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003a90  20 20 20 20 20 20 20 63  6f 6e 74 69 6e 75 65 2e  |       continue.|
00003aa0  20 49 66 20 73 6f 20 27  73 73 27 3d 30 2c 20 6f  | If so 'ss'=0, o|
00003ab0  74 68 65 72 77 69 73 65  20 20 20 20 20 20 20 20  |therwise        |
00003ac0  20 20 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  |       .        |
00003ad0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003ae0  20 20 20 27 73 73 27 3d  31 2e 20 0d 20 20 20 20  |   'ss'=1. .    |
00003af0  63 6c 65 61 72 20 20 20  20 20 20 20 20 32 35 32  |clear        252|
00003b00  30 20 20 20 20 20 20 57  69 70 65 73 20 66 69 6c  |0      Wipes fil|
00003b10  65 20 6d 65 6d 6f 72 79  2e 20 0d 20 20 20 20 70  |e memory. .    p|
00003b20  72 65 63 6f 72 64 20 20  20 20 20 20 32 35 37 30  |record      2570|
00003b30  20 20 20 20 20 20 50 72  69 6e 74 73 20 74 68 65  |      Prints the|
00003b40  20 63 75 72 72 65 6e 74  20 72 65 63 6f 72 64 20  | current record |
00003b50  68 65 6c 64 20 69 6e 20  20 20 20 20 20 20 20 20  |held in         |
00003b60  20 20 20 20 20 20 0d 20  20 20 20 20 20 20 20 20  |      .         |
00003b70  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003b80  20 20 27 72 65 63 6f 72  64 27 2e 20 0d 20 20 20  |  'record'. .   |
00003b90  20 70 66 69 65 6c 64 20  20 20 20 20 20 20 32 37  | pfield       27|
00003ba0  33 30 20 20 20 20 20 20  50 72 69 6e 74 73 20 74  |30      Prints t|
00003bb0  68 65 20 66 69 65 6c 64  20 74 69 74 6c 65 73 20  |he field titles |
00003bc0  6f 66 20 74 68 65 20 20  20 20 20 20 20 20 20 20  |of the          |
00003bd0  20 20 20 20 20 20 20 20  0d 20 20 20 20 20 20 20  |        .       |
00003be0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003bf0  20 20 20 20 66 69 6c 65  2e 20 0d 20 20 20 20 67  |    file. .    g|
00003c00  66 6e 61 6d 65 20 20 20  20 20 20 20 32 38 31 30  |fname       2810|
00003c10  20 20 20 20 20 20 41 73  6b 73 20 74 68 65 20 75  |      Asks the u|
00003c20  73 65 72 20 66 6f 72 20  61 20 66 69 6c 65 6e 61  |ser for a filena|
00003c30  6d 65 2e 20 0d 20 20 20  20 65 78 69 73 74 20 20  |me. .    exist  |
00003c40  20 20 20 20 20 20 32 38  35 30 20 20 20 20 20 20  |      2850      |
00003c50  54 65 6c 6c 73 20 74 68  65 20 75 73 65 72 20 74  |Tells the user t|
00003c60  68 61 74 20 61 20 66 69  6c 65 20 61 6c 72 65 61  |hat a file alrea|
00003c70  64 79 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |dy              |
00003c80  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00003c90  20 20 20 20 20 20 20 20  20 20 20 20 65 78 69 73  |            exis|
00003ca0  74 73 2e 20 0d 20 20 20  20 6e 72 65 63 6f 72 64  |ts. .    nrecord|
00003cb0  20 20 20 20 20 20 32 38  39 30 20 20 20 20 20 20  |      2890      |
00003cc0  54 65 6c 6c 73 20 74 68  65 20 75 73 65 72 20 74  |Tells the user t|
00003cd0  68 61 74 20 74 68 65 72  65 20 61 72 65 20 6e 6f  |hat there are no|
00003ce0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003cf0  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00003d00  20 20 20 20 20 20 20 20  20 20 20 20 72 65 63 6f  |            reco|
00003d10  72 64 73 20 63 75 72 72  65 6e 74 6c 79 20 69 6e  |rds currently in|
00003d20  20 74 68 65 20 66 69 6c  65 2e 20 0d 20 20 20 20  | the file. .    |
00003d30  67 65 74 62 79 74 65 73  28 47 29 20 20 32 39 31  |getbytes(G)  291|
00003d40  30 20 20 20 20 20 20 47  65 74 73 20 74 68 65 20  |0      Gets the |
00003d50  63 6f 6e 74 65 6e 74 73  20 6f 66 20 61 20 74 77  |contents of a tw|
00003d60  6f 20 62 79 74 65 20 20  20 20 20 20 20 20 20 20  |o byte          |
00003d70  20 20 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  |       .        |
00003d80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003d90  20 20 20 6e 75 6d 62 65  72 20 28 47 20 69 73 20  |   number (G is |
00003da0  74 68 65 20 66 69 72 73  74 20 62 79 74 65 20 6d  |the first byte m|
00003db0  69 6e 75 73 20 20 20 20  20 20 20 20 20 20 20 20  |inus            |
00003dc0  20 20 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  |   .            |
00003dd0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 27  |               '|
00003de0  73 74 61 72 74 61 27 29  2c 20 61 6e 64 20 70 6c  |starta'), and pl|
00003df0  61 63 65 73 20 74 68 65  20 72 65 73 75 6c 74 20  |aces the result |
00003e00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 0d  |               .|
00003e10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003e20  20 20 20 20 20 20 20 20  20 20 20 69 6e 20 27 48  |           in 'H|
00003e30  27 2e 20 0d 20 20 20 20  70 75 74 62 79 74 65 73  |'. .    putbytes|
00003e40  28 47 29 20 20 32 39 33  30 20 20 20 20 20 20 50  |(G)  2930      P|
00003e50  75 74 73 20 74 68 65 20  76 61 6c 75 65 20 6f 66  |uts the value of|
00003e60  20 27 48 27 20 69 6e 20  74 77 6f 20 6d 65 6d 6f  | 'H' in two memo|
00003e70  72 79 20 20 20 20 20 20  20 20 20 20 20 20 20 0d  |ry             .|
00003e80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003e90  20 20 20 20 20 20 20 20  20 20 20 62 79 74 65 73  |           bytes|
00003ea0  20 73 74 61 72 74 69 6e  67 20 61 74 20 27 47 2b  | starting at 'G+|
00003eb0  73 74 61 72 74 61 27 2e  20 0d 20 20 20 20 6f 73  |starta'. .    os|
00003ec0  63 6c 69 28 41 24 29 20  20 20 20 32 39 35 30 20  |cli(A$)    2950 |
00003ed0  20 20 20 20 20 50 61 73  73 65 73 20 27 41 24 27  |     Passes 'A$'|
00003ee0  20 6f 6e 74 6f 20 74 68  65 20 63 6f 6d 6d 61 6e  | onto the comman|
00003ef0  64 20 6c 69 6e 65 20 20  20 20 20 20 20 20 20 20  |d line          |
00003f00  20 20 20 20 20 0d 20 20  20 20 20 20 20 20 20 20  |     .          |
00003f10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003f20  20 69 6e 74 65 72 70 72  65 74 65 72 2e 20 54 68  | interpreter. Th|
00003f30  69 73 20 72 6f 75 74 69  6e 65 20 77 69 6c 6c 20  |is routine will |
00003f40  77 6f 72 6b 20 20 20 20  20 20 20 20 20 20 20 20  |work            |
00003f50  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00003f60  20 20 20 20 20 20 20 20  20 20 20 20 20 69 6e 20  |             in |
00003f70  42 41 53 49 43 20 31 20  61 6e 64 20 42 41 53 49  |BASIC 1 and BASI|
00003f80  43 20 32 2e 20 0d 20 20  20 20 69 6e 70 75 74 72  |C 2. .    inputr|
00003f90  65 63 31 20 20 20 20 32  39 37 30 20 20 20 20 20  |ec1    2970     |
00003fa0  20 49 6e 70 75 74 73 20  61 20 72 65 63 6f 72 64  | Inputs a record|
00003fb0  20 66 72 6f 6d 20 74 68  65 20 6b 65 79 62 6f 61  | from the keyboa|
00003fc0  72 64 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |rd              |
00003fd0  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00003fe0  20 20 20 20 20 20 20 20  20 20 20 20 20 69 6e 74  |             int|
00003ff0  6f 20 61 20 73 74 72 69  6e 67 2e 20 0d 20 20 20  |o a string. .   |
00004000  20 20 0d 20 20 20 20 49  4d 50 4f 52 54 41 4e 54  |  .    IMPORTANT|
00004010  20 56 41 52 49 41 42 4c  45 53 20 20 20 20 20 20  | VARIABLES      |
00004020  20 20 20 20 20 20 44 45  53 43 52 49 50 54 49 4f  |      DESCRIPTIO|
00004030  4e 20 0d 20 20 20 20 20  0d 20 20 20 20 41 25 2c  |N .     .    A%,|
00004040  42 25 2c 43 25 2c 44 25  2c 45 25 2c 46 25 2c 47  |B%,C%,D%,E%,F%,G|
00004050  25 2c 58 25 2c 59 25 20  20 20 20 20 55 53 45 44  |%,X%,Y%     USED|
00004060  20 49 4e 20 56 41 52 49  4f 55 53 20 4c 4f 4f 50  | IN VARIOUS LOOP|
00004070  53 2e 20 0d 20 20 20 20  41 2c 42 2c 43 2c 44 2c  |S. .    A,B,C,D,|
00004080  45 2c 46 2c 47 2c 48 2c  49 2c 4a 2c 4b 20 20 20  |E,F,G,H,I,J,K   |
00004090  20 20 20 20 20 20 20 55  53 45 44 20 49 4e 20 56  |       USED IN V|
000040a0  41 52 49 4f 55 53 20 4c  4f 4f 50 53 2e 20 0d 20  |ARIOUS LOOPS. . |
000040b0  20 20 20 66 6c 61 67 20  20 20 20 20 20 20 20 20  |   flag         |
000040c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000040d0  20 20 55 73 65 64 20 74  6f 20 66 6c 61 67 20 63  |  Used to flag c|
000040e0  65 72 74 61 69 6e 20 65  76 65 6e 74 73 2e 20 0d  |ertain events. .|
000040f0  20 20 20 20 66 6c 61 67  32 20 20 20 20 20 20 20  |    flag2       |
00004100  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004110  20 20 20 55 73 65 64 20  74 6f 20 66 6c 61 67 20  |   Used to flag |
00004120  63 65 72 74 61 69 6e 20  65 76 65 6e 74 73 2e 20  |certain events. |
00004130  0d 20 20 20 20 72 65 63  6f 72 64 20 20 20 20 20  |.    record     |
00004140  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004150  20 20 20 20 48 6f 6c 64  73 20 72 65 63 6f 72 64  |    Holds record|
00004160  20 6e 75 6d 62 65 72 20  74 68 61 74 20 69 73 20  | number that is |
00004170  63 75 72 72 65 6e 74 6c  79 20 0d 20 20 20 20 20  |currently .     |
00004180  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004190  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 62  |               b|
000041a0  65 69 6e 67 20 64 69 73  70 6c 61 79 65 64 2e 20  |eing displayed. |
000041b0  0d 20 20 20 20 73 73 20  20 20 20 20 20 20 20 20  |.    ss         |
000041c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000041d0  20 20 20 20 41 20 66 6c  61 67 20 66 6f 72 20 50  |    A flag for P|
000041e0  52 4f 43 45 44 55 52 45  20 27 73 75 72 65 27 20  |ROCEDURE 'sure' |
000041f0  0d 20 20 20 20 73 74 61  72 74 61 20 20 20 20 20  |.    starta     |
00004200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004210  20 20 20 20 50 6f 69 6e  74 73 20 61 74 20 73 74  |    Points at st|
00004220  61 72 74 20 6f 66 20 6d  65 6d 6f 72 79 20 66 6f  |art of memory fo|
00004230  72 20 74 68 65 20 66 69  6c 65 2e 20 0d 20 20 20  |r the file. .   |
00004240  20 41 24 2c 42 24 2c 43  24 20 20 20 20 20 20 20  | A$,B$,C$       |
00004250  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004260  55 73 65 64 20 66 6f 72  20 76 61 72 69 6f 75 73  |Used for various|
00004270  20 73 74 72 69 6e 67 20  68 61 6e 64 6c 69 6e 67  | string handling|
00004280  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00004290  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000042a0  20 20 20 20 20 20 72 6f  75 74 69 6e 65 73 2e 20  |      routines. |
000042b0  0d 20 20 20 20 66 69 6c  65 24 20 20 20 20 20 20  |.    file$      |
000042c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000042d0  20 20 20 20 48 6f 6c 64  73 20 6c 61 73 74 20 66  |    Holds last f|
000042e0  69 6c 65 6e 61 6d 65 20  65 6e 74 65 72 65 64 2e  |ilename entered.|
000042f0  20 0d 20 20 20 20 66 24  28 31 36 29 2c 6c 65 28  | .    f$(16),le(|
00004300  31 36 29 2c 6c 65 6e 28  31 36 29 20 20 20 20 20  |16),len(16)     |
00004310  20 20 20 20 20 55 73 65  64 20 74 6f 20 68 6f 6c  |     Used to hol|
00004320  64 20 61 20 72 65 63 6f  72 64 20 61 73 20 61 20  |d a record as a |
00004330  73 74 72 69 6e 67 2e 20  0d 20 20 20 20 20 0d 20  |string. .     . |
00004340  20 20 20 46 49 4c 45 20  46 4f 52 4d 41 54 20 3a  |   FILE FORMAT :|
00004350  20 0d 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  | .     .        |
00004360  20 54 68 65 20 72 65 63  6f 72 64 73 2c 20 66 69  | The records, fi|
00004370  65 6c 64 20 74 69 74 6c  65 73 20 61 6e 64 20 66  |eld titles and f|
00004380  69 65 6c 64 20 6c 65 6e  67 74 68 73 20 61 72 65  |ield lengths are|
00004390  20 61 6c 6c 20 6b 65 70  74 20 69 6e 20 0d 20 20  | all kept in .  |
000043a0  20 20 6d 65 6d 6f 72 79  20 75 70 20 61 62 6f 76  |  memory up abov|
000043b0  65 20 74 68 65 20 42 41  53 49 43 20 70 72 6f 67  |e the BASIC prog|
000043c0  72 61 6d 2c 20 61 6e 64  20 61 72 65 20 64 75 6d  |ram, and are dum|
000043d0  70 65 64 20 64 69 72 65  63 74 6c 79 20 74 68 65  |ped directly the|
000043e0  72 65 20 75 73 69 6e 67  20 0d 20 20 20 20 69 6e  |re using .    in|
000043f0  64 69 72 65 63 74 69 6f  6e 20 6f 70 65 72 61 74  |direction operat|
00004400  6f 72 73 2e 20 54 68 65  20 72 65 61 73 6f 6e 20  |ors. The reason |
00004410  66 6f 72 20 74 68 69 73  20 69 73 20 6d 61 69 6e  |for this is main|
00004420  6c 79 20 66 6f 72 20 6d  65 6d 6f 72 79 20 73 61  |ly for memory sa|
00004430  76 69 6e 67 20 0d 20 20  20 20 62 65 63 61 75 73  |ving .    becaus|
00004440  65 20 61 6c 74 68 6f 75  67 68 20 73 74 72 69 6e  |e although strin|
00004450  67 20 61 72 72 61 79 73  20 61 72 65 20 76 65 72  |g arrays are ver|
00004460  79 20 6e 69 63 65 20 61  6e 64 20 65 61 73 79 20  |y nice and easy |
00004470  74 6f 20 75 73 65 2c 20  74 68 65 79 20 0d 20 20  |to use, they .  |
00004480  20 20 74 65 6e 64 20 74  6f 20 74 61 6b 65 20 75  |  tend to take u|
00004490  70 20 61 20 6c 6f 74 20  6f 66 20 6d 65 6d 6f 72  |p a lot of memor|
000044a0  79 2c 20 77 68 69 63 68  20 69 73 20 76 65 72 79  |y, which is very|
000044b0  20 69 6d 70 6f 72 74 61  6e 74 20 77 68 65 6e 20  | important when |
000044c0  61 6c 6c 20 74 68 65 20  0d 20 20 20 20 72 65 63  |all the .    rec|
000044d0  6f 72 64 73 20 61 72 65  20 69 6e 20 6d 65 6d 6f  |ords are in memo|
000044e0  72 79 20 61 74 20 6f 6e  63 65 2e 20 0d 20 20 20  |ry at once. .   |
000044f0  20 20 0d 20 20 20 20 20  20 20 20 20 54 68 65 20  |  .         The |
00004500  61 63 74 75 61 6c 20 63  6f 6e 74 65 6e 74 73 20  |actual contents |
00004510  6f 66 20 74 68 65 20 66  69 6c 65 20 73 74 61 72  |of the file star|
00004520  74 20 61 74 20 74 68 65  20 6d 65 6d 6f 72 79 20  |t at the memory |
00004530  6c 6f 63 61 74 69 6f 6e  20 0d 0d 0d 20 20 20 20  |location ...    |
00004540  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00004560  50 61 67 65 20 36 0d 0d  0d 0d 0d 0d 20 20 20 20  |Page 6......    |
00004570  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004580  20 41 20 44 41 54 41 2d  42 41 53 45 20 53 59 53  | A DATA-BASE SYS|
00004590  54 45 4d 20 62 79 20 52  4f 42 20 41 4e 44 45 52  |TEM by ROB ANDER|
000045a0  53 4f 4e 2e 0d 0d 0d 0d  20 20 20 20 73 74 6f 72  |SON.....    stor|
000045b0  65 64 20 69 6e 20 27 73  74 61 72 74 61 27 2c 20  |ed in 'starta', |
000045c0  77 68 65 72 65 20 74 68  65 20 70 61 73 73 77 6f  |where the passwo|
000045d0  72 64 2c 20 66 69 65 6c  64 20 74 69 74 6c 65 73  |rd, field titles|
000045e0  2c 20 65 74 63 2e 20 61  72 65 20 6b 65 70 74 2e  |, etc. are kept.|
000045f0  20 0d 20 20 20 20 41 66  74 65 72 20 74 68 69 73  | .    After this|
00004600  20 63 6f 6d 65 73 20 74  68 65 20 72 65 63 6f 72  | comes the recor|
00004610  64 73 20 74 68 65 6d 73  65 6c 76 65 73 20 77 68  |ds themselves wh|
00004620  69 63 68 20 66 6f 6c 6c  6f 77 20 6f 6e 20 6f 6e  |ich follow on on|
00004630  65 20 61 66 74 65 72 20  74 68 65 20 0d 20 20 20  |e after the .   |
00004640  20 6f 74 68 65 72 2e 20  0d 20 20 20 20 20 0d 20  | other. .     . |
00004650  20 20 20 20 0d 20 20 20  20 4d 45 4d 4f 52 59 20  |    .    MEMORY |
00004660  55 53 41 47 45 20 3a 20  0d 20 20 20 20 20 0d 20  |USAGE : .     . |
00004670  20 20 20 20 20 20 20 20  44 41 54 41 42 41 53 45  |        DATABASE|
00004680  20 69 73 20 61 20 31 30  6b 20 42 41 53 49 43 20  | is a 10k BASIC |
00004690  70 72 6f 67 72 61 6d 20  77 68 69 63 68 20 63 61  |program which ca|
000046a0  6e 20 62 65 20 72 75 6e  20 61 74 20 61 6e 79 20  |n be run at any |
000046b0  50 41 47 45 20 0d 20 20  20 20 61 64 64 72 65 73  |PAGE .    addres|
000046c0  73 20 6c 65 73 73 20 74  68 61 6e 20 6f 72 20 65  |s less than or e|
000046d0  71 75 61 6c 20 74 6f 20  26 31 39 30 30 2e 20 54  |qual to &1900. T|
000046e0  68 65 20 64 61 74 61 20  66 69 6c 65 20 72 65 73  |he data file res|
000046f0  69 64 65 73 20 61 74 20  26 34 35 30 30 2c 20 0d  |ides at &4500, .|
00004700  20 20 20 20 77 68 69 63  68 20 69 73 20 77 68 61  |    which is wha|
00004710  74 20 74 68 65 20 70 72  6f 67 72 61 6d 20 73 65  |t the program se|
00004720  74 73 20 48 49 4d 45 4d  20 74 6f 2c 20 73 6f 20  |ts HIMEM to, so |
00004730  61 73 20 74 6f 20 70 72  65 76 65 6e 74 20 42 41  |as to prevent BA|
00004740  53 49 43 20 0d 20 20 20  20 72 75 6e 6e 69 6e 67  |SIC .    running|
00004750  20 69 6e 74 6f 20 74 68  65 20 64 61 74 61 20 66  | into the data f|
00004760  69 6c 65 2e 20 0d 20 20  20 20 20 0d 20 20 20 20  |ile. .     .    |
00004770  20 20 20 20 20 54 68 65  20 54 4f 50 20 6f 66 20  |     The TOP of |
00004780  74 68 65 20 70 72 6f 67  72 61 6d 20 69 73 20 61  |the program is a|
00004790  74 20 61 62 6f 75 74 20  26 34 30 30 30 2c 20 77  |t about &4000, w|
000047a0  68 69 63 68 20 6c 65 61  76 65 73 20 0d 20 20 20  |hich leaves .   |
000047b0  20 28 48 49 4d 45 4d 2d  54 4f 50 29 3d 31 6b 20  | (HIMEM-TOP)=1k |
000047c0  62 79 74 65 73 20 66 6f  72 20 76 61 72 69 61 62  |bytes for variab|
000047d0  6c 65 20 73 74 6f 72 61  67 65 2e 20 54 68 65 20  |le storage. The |
000047e0  74 6f 70 20 6f 66 20 75  73 65 72 20 6d 65 6d 6f  |top of user memo|
000047f0  72 79 20 69 73 20 0d 20  20 20 20 26 37 43 30 30  |ry is .    &7C00|
00004800  2c 20 73 6f 20 74 68 69  73 20 6c 65 61 76 65 73  |, so this leaves|
00004810  20 28 26 37 43 30 30 2d  26 34 35 30 30 29 3d 31  | (&7C00-&4500)=1|
00004820  34 6b 20 62 79 74 65 73  20 6f 66 20 6d 65 6d 6f  |4k bytes of memo|
00004830  72 79 20 66 72 65 65 20  66 6f 72 20 74 68 65 20  |ry free for the |
00004840  0d 20 20 20 20 64 61 74  61 20 66 69 6c 65 2c 20  |.    data file, |
00004850  77 68 69 63 68 20 6d 65  61 6e 73 20 74 68 61 74  |which means that|
00004860  20 74 79 70 69 63 61 6c  6c 79 20 61 62 6f 75 74  | typically about|
00004870  20 32 30 30 20 72 65 63  6f 72 64 73 20 6f 66 20  | 200 records of |
00004880  35 20 66 69 65 6c 64 73  20 6f 66 20 0d 20 20 20  |5 fields of .   |
00004890  20 31 30 20 63 68 61 72  61 63 74 65 72 73 20 70  | 10 characters p|
000048a0  65 72 20 66 69 65 6c 64  20 63 61 6e 20 62 65 20  |er field can be |
000048b0  65 6e 74 65 72 65 64 2c  20 77 68 69 63 68 20 69  |entered, which i|
000048c0  73 20 71 75 69 74 65 20  61 20 75 73 65 66 75 6c  |s quite a useful|
000048d0  20 73 69 7a 65 2e 20 0d  20 20 20 20 20 0d 20 20  | size. .     .  |
000048e0  20 20 4d 45 4d 4f 52 59  20 55 53 41 47 45 20 53  |  MEMORY USAGE S|
000048f0  55 4d 4d 41 52 59 20 3a  20 0d 20 20 20 20 20 0d  |UMMARY : .     .|
00004900  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004910  20 20 20 20 20 20 20 20  20 20 2e 20 20 20 20 20  |          .     |
00004920  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 2e  |               .|
00004930  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00004940  20 20 20 20 20 20 20 20  20 20 20 20 2e 20 20 20  |            .   |
00004950  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004960  20 2e 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  | . .            |
00004970  20 20 20 20 20 20 20 20  20 20 20 20 20 20 2e 20  |              . |
00004980  20 20 20 20 20 20 4d 4f  44 45 20 37 20 20 20 20  |      MODE 7    |
00004990  20 20 20 2e 20 0d 20 20  20 20 20 20 20 20 20 20  |   . .          |
000049a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000049b0  2e 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
000049c0  20 20 20 20 20 2e 20 0d  20 20 20 20 20 20 20 20  |     . .        |
000049d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000049e0  20 20 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |  ______________|
000049f0  5f 5f 5f 00 00 00 00 00  00 00 00 00 00 00 00 00  |___.............|
00004a00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00004f10  00 00 45 20 74 68 65 72  65 20 61 72 65 20 61 20  |..E there are a |
00004f20  66 65 77 20 6c 69 74 74  6c 65 20 74 69 70 73 20  |few little tips |
00004f30  74 68 61 74 20 63 61 6e  20 6d 61 6b 65 20 69 74  |that can make it|
00004f40  20 0d 20 20 20 20 65 61  73 69 65 72 20 61 6e 64  | .    easier and|
00004f50  20 6d 6f 72 65 20 65 66  66 69 63 69 65 6e 74 20  | more efficient |
00004f60  74 6f 20 75 73 65 2e 20  0d 20 20 20 20 20 0d 20  |to use. .     . |
00004f70  20 20 20 20 20 20 20 20  57 68 65 6e 20 64 65 66  |        When def|
00004f80  69 6e 69 6e 67 20 61 20  4e 45 57 20 72 65 63 6f  |ining a NEW reco|
00004f90  72 64 2c 20 74 68 69 6e  6b 20 63 61 72 65 66 75  |rd, think carefu|
00004fa0  6c 6c 79 20 61 62 6f 75  74 20 68 6f 77 20 74 6f  |lly about how to|
00004fb0  20 64 65 66 69 6e 65 20  0d 20 20 20 20 69 74 20  | define .    it |
00004fc0  62 65 63 61 75 73 65 20  6f 6e 63 65 20 73 65 74  |because once set|
00004fd0  20 6f 75 74 2c 20 69 74  20 63 61 6e 6e 6f 74 20  | out, it cannot |
00004fe0  62 65 20 63 68 61 6e 67  65 64 20 77 68 69 63 68  |be changed which|
00004ff0  20 6d 65 61 6e 73 20 74  68 61 74 20 69 66 20 79  | means that if y|
00005000  6f 75 20 0d 20 20 20 20  68 61 76 65 20 65 6e 74  |ou .    have ent|
00005010  65 72 65 64 20 73 61 79  20 31 30 30 20 72 65 63  |ered say 100 rec|
00005020  6f 72 64 73 2c 20 61 6e  64 20 74 68 65 6e 20 66  |ords, and then f|
00005030  69 6e 64 20 6f 75 74 20  74 68 61 74 20 79 6f 75  |ind out that you|
00005040  20 6e 65 65 64 20 61 6e  6f 74 68 65 72 20 0d 20  | need another . |
00005050  20 20 20 66 69 65 6c 64  20 66 6f 72 20 63 65 72  |   field for cer|
00005060  74 61 69 6e 20 65 6e 74  72 69 65 73 2c 20 79 6f  |tain entries, yo|
00005070  75 20 77 69 6c 6c 20 68  61 76 65 20 74 6f 20 74  |u will have to t|
00005080  79 70 65 20 74 68 65 20  77 68 6f 6c 65 20 66 69  |ype the whole fi|
00005090  6c 65 20 69 6e 20 0d 20  20 20 20 61 67 61 69 6e  |le in .    again|
000050a0  21 20 42 65 63 61 75 73  65 20 6f 66 20 74 68 69  |! Because of thi|
000050b0  73 2c 20 69 74 20 69 73  20 61 6c 73 6f 20 61 20  |s, it is also a |
000050c0  67 6f 6f 64 20 69 64 65  61 20 74 6f 20 68 61 76  |good idea to hav|
000050d0  65 20 61 20 66 69 65 6c  64 20 63 61 6c 6c 65 64  |e a field called|
000050e0  20 0d 0d 0d 20 20 20 20  20 20 20 20 20 20 20 20  | ...            |
000050f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00005100  20 20 20 20 20 20 20 20  50 61 67 65 20 37 0d 0d  |        Page 7..|
00005110  0d 0d 0d 0d 20 20 20 20  20 20 20 20 20 20 20 20  |....            |
00005120  20 20 20 20 20 20 20 20  20 41 20 44 41 54 41 2d  |         A DATA-|
00005130  42 41 53 45 20 53 59 53  54 45 4d 20 62 79 20 52  |BASE SYSTEM by R|
00005140  4f 42 20 41 4e 44 45 52  53 4f 4e 2e 0d 0d 0d 0d  |OB ANDERSON.....|
00005150  20 20 20 20 27 41 4e 59  54 48 49 4e 47 20 45 4c  |    'ANYTHING EL|
00005160  53 45 27 20 6f 72 20 27  4d 49 53 43 45 4c 4c 41  |SE' or 'MISCELLA|
00005170  4e 45 4f 55 53 27 2c 20  66 6f 72 20 72 65 63 6f  |NEOUS', for reco|
00005180  72 64 73 20 74 68 61 74  20 6d 61 79 20 68 61 76  |rds that may hav|
00005190  65 20 75 6e 75 73 75 61  6c 20 0d 20 20 20 20 65  |e unusual .    e|
000051a0  6e 74 72 69 65 73 2e 20  0d 20 20 20 20 20 0d 20  |ntries. .     . |
000051b0  20 20 20 20 20 20 20 20  57 68 65 6e 20 65 6e 74  |        When ent|
000051c0  65 72 69 6e 67 20 79 6f  75 72 20 66 69 65 6c 64  |ering your field|
000051d0  20 74 69 74 6c 65 73 2c  20 79 6f 75 20 63 61 6e  | titles, you can|
000051e0  20 73 74 69 6c 6c 20 75  73 65 20 74 68 65 20 66  | still use the f|
000051f0  75 6e 63 74 69 6f 6e 20  0d 20 20 20 20 6b 65 79  |unction .    key|
00005200  73 20 74 6f 20 67 65 74  20 4d 4f 44 45 20 37 20  |s to get MODE 7 |
00005210  63 6f 6c 6f 75 72 65 64  20 63 68 61 72 61 63 74  |coloured charact|
00005220  65 72 73 2c 20 77 68 69  63 68 20 65 6e 61 62 6c  |ers, which enabl|
00005230  65 73 20 79 6f 75 20 74  6f 20 73 65 74 20 75 70  |es you to set up|
00005240  20 61 20 0d 20 20 20 20  66 69 6c 65 20 74 68 61  | a .    file tha|
00005250  74 20 73 74 61 6e 64 73  20 6f 75 74 20 77 65 6c  |t stands out wel|
00005260  6c 2c 20 6d 61 6b 69 6e  67 20 69 74 20 65 61 73  |l, making it eas|
00005270  69 65 72 20 61 6e 64 20  6d 6f 72 65 20 63 6f 6c  |ier and more col|
00005280  6f 75 72 66 75 6c 20 74  6f 20 75 73 65 20 0d 20  |ourful to use . |
00005290  20 20 20 28 61 6c 74 68  6f 75 67 68 20 79 6f 75  |   (although you|
000052a0  20 6d 61 79 20 67 65 74  20 66 75 6e 6e 79 20 6e  | may get funny n|
000052b0  6f 69 73 65 73 20 63 6f  6d 69 6e 67 20 66 72 6f  |oises coming fro|
000052c0  6d 20 79 6f 75 72 20 70  72 69 6e 74 65 72 20 77  |m your printer w|
000052d0  68 65 6e 20 0d 20 20 20  20 70 72 69 6e 74 69 6e  |hen .    printin|
000052e0  67 20 61 20 72 65 63 6f  72 64 21 29 2e 20 0d 20  |g a record!). . |
000052f0  20 20 20 20 0d 20 20 20  20 20 20 20 20 20 49 66  |    .         If|
00005300  20 79 6f 75 20 68 61 76  65 20 6e 6f 20 6e 65 65  | you have no nee|
00005310  64 20 66 6f 72 20 73 65  63 75 72 69 74 79 20 70  |d for security p|
00005320  72 65 63 61 75 74 69 6f  6e 73 2c 20 75 73 65 20  |recautions, use |
00005330  74 68 65 20 70 61 73 73  77 6f 72 64 20 0d 20 20  |the password .  |
00005340  20 20 27 44 41 54 41 42  41 53 45 27 20 66 6f 72  |  'DATABASE' for|
00005350  20 79 6f 75 72 20 66 69  6c 65 2c 20 61 73 20 74  | your file, as t|
00005360  68 69 73 20 69 73 20 73  75 67 67 65 73 74 65 64  |his is suggested|
00005370  20 62 79 20 74 68 65 20  70 72 6f 67 72 61 6d 20  | by the program |
00005380  77 68 69 63 68 20 0d 20  20 20 20 6d 61 6b 65 73  |which .    makes|
00005390  20 69 74 20 69 6d 70 6f  73 73 69 62 6c 65 20 66  | it impossible f|
000053a0  6f 72 20 79 6f 75 20 74  6f 20 66 6f 72 67 65 74  |or you to forget|
000053b0  21 20 0d 20 20 20 20 20  0d 20 20 20 20 20 20 20  |! .     .       |
000053c0  20 20 41 73 20 61 20 66  69 6e 61 6c 6c 79 20 6e  |  As a finally n|
000053d0  6f 74 65 2c 20 41 4c 57  41 59 53 20 4b 45 45 50  |ote, ALWAYS KEEP|
000053e0  20 43 4f 50 49 45 53 20  4f 46 20 59 4f 55 52 20  | COPIES OF YOUR |
000053f0  44 41 54 41 20 46 49 4c  45 53 2c 20 62 65 63 61  |DATA FILES, beca|
00005400  75 73 65 20 0d 20 20 20  20 69 66 20 79 6f 75 20  |use .    if you |
00005410  64 6f 6e 27 74 20 79 6f  75 27 6c 6c 20 68 61 76  |don't you'll hav|
00005420  65 20 74 6f 20 6c 65 61  72 6e 20 74 68 65 20 68  |e to learn the h|
00005430  61 72 64 20 77 61 79 2c  20 73 6f 20 62 65 20 77  |ard way, so be w|
00005440  61 72 6e 65 64 21 20 0d  20 20 20 20 20 0d 20 20  |arned! .     .  |
00005450  20 20 20 0d 20 20 20 20  20 0d 20 20 20 20 20 0d  |   .     .     .|
00005460  20 20 20 20 20 0d 20 20  20 20 20 0d 20 20 20 20  |     .     .    |
00005470  20 0d 20 20 20 20 20 0d  20 20 20 20 20 0d 20 20  | .     .     .  |
00005480  20 20 20 0d 20 20 20 20  20 20 20 20 20 20 20 20  |   .            |
00005490  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000054a0  20 20 20 20 20 20 20 20  20 20 20 52 2e 53 2e 41  |           R.S.A|
000054b0  4e 44 45 52 53 4f 4e 2e  20 4a 41 4e 20 31 39 38  |NDERSON. JAN 198|
000054c0  37 2e 20 0d 0d 0d 0d 0d  0d 0d 0d 0d 0d 0d 0d 0d  |7. .............|
000054d0  0d 0d 0d 0d 0d 0d 0d 0d  0d 0d 0d 0d 0d 0d 0d 0d  |................|
000054e0  0d 0d 0d 0d 0d 0d 0d 0d  20 20 20 20 20 20 20 20  |........        |
000054f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00005500  20 20 20 20 20 20 20 20  20 20 20 20 50 61 67 65  |            Page|
00005510  20 38 0d 0d 0d 0d                                 | 8....|
00005516
25-12-87/DBINFO
00000000  20 20 20 20 20 20 20 20  20 20 20 41 20 44 41 54  |           A DAT|
00000010  41 2d 42 41 53 45 20 53  59 53 54 45 4d 20 62 79  |A-BASE SYSTEM by|
00000020  20 52 4f 42 20 41 4e 44  45 52 53 4f 4e 2e 0d 0d  | ROB ANDERSON...|
00000030  49 4e 54 52 4f 44 55 43  54 49 4f 4e 0d 0d 54 68  |INTRODUCTION..Th|
00000040  69 73 20 64 61 74 61 20  62 61 73 65 20 70 72 6f  |is data base pro|
00000050  67 72 61 6d 20 65 6e 61  62 6c 65 73 20 61 20 63  |gram enables a c|
00000060  6f 6c 6c 65 63 74 69 6f  6e 20 6f 66 20 72 65 63  |ollection of rec|
00000070  6f 72 64 73 20 28 6f 66  20 61 6e 79 20 66 6f 72  |ords (of any for|
00000080  6d 61 74 29 20 74 6f 0d  62 65 20 70 72 6f 63 65  |mat) to.be proce|
00000090  73 73 65 64 20 69 6e 20  61 20 76 61 72 69 65 74  |ssed in a variet|
000000a0  79 20 6f 66 20 77 61 79  73 2c 20 61 6e 64 20 73  |y of ways, and s|
000000b0  68 6f 75 6c 64 20 70 72  6f 76 69 64 65 20 61 20  |hould provide a |
000000c0  67 6f 6f 64 20 69 6e 74  72 6f 64 75 63 74 69 6f  |good introductio|
000000d0  6e 0d 69 6e 74 6f 20 74  68 65 20 75 73 65 20 6f  |n.into the use o|
000000e0  66 20 64 61 74 61 2d 62  61 73 65 20 73 79 73 74  |f data-base syst|
000000f0  65 6d 73 20 69 6e 20 67  65 6e 65 72 61 6c 2e 20  |ems in general. |
00000100  42 79 20 66 6f 6c 6c 6f  77 69 6e 67 20 74 68 65  |By following the|
00000110  20 42 41 53 49 43 0d 70  72 6f 67 72 61 6d 20 6c  | BASIC.program l|
00000120  69 73 74 69 6e 67 20 69  74 20 73 68 6f 75 6c 64  |isting it should|
00000130  20 61 6c 73 6f 20 67 69  76 65 20 74 68 65 20 72  | also give the r|
00000140  65 61 64 65 72 20 61 6e  20 69 6e 73 69 67 68 74  |eader an insight|
00000150  20 69 6e 74 6f 20 68 6f  77 20 73 75 63 68 20 61  | into how such a|
00000160  0d 73 79 73 74 65 6d 20  77 6f 72 6b 73 2c 20 61  |.system works, a|
00000170  6e 64 20 75 6c 74 69 6d  61 74 65 6c 79 20 68 6f  |nd ultimately ho|
00000180  77 20 74 6f 20 67 6f 20  61 62 6f 75 74 20 77 72  |w to go about wr|
00000190  69 74 69 6e 67 20 61 20  73 79 73 74 65 6d 20 6f  |iting a system o|
000001a0  66 20 79 6f 75 72 20 6f  77 6e 2e 0d 0d 54 68 65  |f your own...The|
000001b0  20 61 63 74 75 61 6c 20  64 61 74 61 20 74 68 61  | actual data tha|
000001c0  74 20 67 6f 65 73 20 74  6f 20 6d 61 6b 65 20 75  |t goes to make u|
000001d0  70 20 74 68 65 20 64 61  74 61 2d 66 69 6c 65 20  |p the data-file |
000001e0  69 73 20 68 65 6c 64 20  69 6e 20 63 6f 6d 70 75  |is held in compu|
000001f0  74 65 72 0d 6d 65 6d 6f  72 79 2c 20 77 68 69 63  |ter.memory, whic|
00000200  68 20 64 6f 65 73 20 72  65 73 74 72 69 63 74 20  |h does restrict |
00000210  74 68 65 20 61 6d 6f 75  6e 74 20 6f 66 20 64 61  |the amount of da|
00000220  74 61 20 74 68 61 74 20  63 61 6e 20 62 65 20 73  |ta that can be s|
00000230  74 6f 72 65 64 20 69 6e  20 6f 6e 65 0d 66 69 6c  |tored in one.fil|
00000240  65 2c 20 62 75 74 20 62  79 20 75 73 69 6e 67 20  |e, but by using |
00000250  74 68 69 73 20 6d 65 74  68 6f 64 20 76 65 72 79  |this method very|
00000260  20 66 61 73 74 20 61 63  63 65 73 73 20 74 69 6d  | fast access tim|
00000270  65 73 20 74 6f 20 74 68  65 20 64 61 74 61 20 61  |es to the data a|
00000280  72 65 0d 61 63 68 69 65  76 65 64 20 28 65 2e 67  |re.achieved (e.g|
00000290  2e 20 77 69 74 68 20 73  65 61 72 63 68 65 73 20  |. with searches |
000002a0  65 74 63 2e 29 2c 20 61  6e 64 20 69 74 20 61 6c  |etc.), and it al|
000002b0  73 6f 20 70 72 6f 76 69  64 65 73 20 61 20 67 6f  |so provides a go|
000002c0  6f 64 20 77 61 79 20 66  6f 72 0d 74 61 70 65 20  |od way for.tape |
000002d0  75 73 65 72 73 20 74 6f  20 73 74 6f 72 65 20 61  |users to store a|
000002e0  20 72 65 61 73 6f 6e 61  62 6c 65 20 61 6d 6f 75  | reasonable amou|
000002f0  6e 74 20 6f 66 20 72 65  63 6f 72 64 73 20 77 69  |nt of records wi|
00000300  74 68 6f 75 74 20 68 61  76 69 6e 67 20 74 6f 20  |thout having to |
00000310  77 61 69 74 0d 61 20 6c  6f 6e 67 20 74 69 6d 65  |wait.a long time|
00000320  20 66 6f 72 20 69 74 20  61 6c 6c 20 74 6f 20 6c  | for it all to l|
00000330  6f 61 64 2e 0d 0d 54 68  75 73 2c 20 69 6e 20 73  |oad...Thus, in s|
00000340  75 6d 6d 61 72 79 2c 20  74 68 69 73 20 73 79 73  |ummary, this sys|
00000350  74 65 6d 20 63 6f 75 6c  64 20 62 65 20 6f 66 20  |tem could be of |
00000360  75 73 65 20 74 6f 20 3a  0d 0d 69 29 20 54 61 70  |use to :..i) Tap|
00000370  65 20 61 6e 64 20 64 69  73 63 20 75 73 65 72 73  |e and disc users|
00000380  20 77 68 6f 20 72 65 71  75 69 72 65 20 61 20 73  | who require a s|
00000390  6d 61 6c 6c 20 62 75 74  20 66 61 73 74 20 64 61  |mall but fast da|
000003a0  74 61 2d 62 61 73 65 20  73 79 73 74 65 6d 20 74  |ta-base system t|
000003b0  6f 0d 73 74 6f 72 65 20  66 6f 72 20 65 78 61 6d  |o.store for exam|
000003c0  70 6c 65 20 6e 61 6d 65  73 2c 20 61 64 64 72 65  |ple names, addre|
000003d0  73 73 65 73 20 61 6e 64  20 74 65 6c 65 70 68 6f  |sses and telepho|
000003e0  6e 65 20 6e 75 6d 62 65  72 73 2c 20 6f 66 20 77  |ne numbers, of w|
000003f0  68 69 63 68 20 72 6f 75  67 68 6c 79 0d 32 30 30  |hich roughly.200|
00000400  20 6e 61 6d 65 73 20 65  74 63 20 6d 61 79 20 62  | names etc may b|
00000410  65 20 73 74 6f 72 65 64  20 75 73 69 6e 67 20 61  |e stored using a|
00000420  20 72 65 61 73 6f 6e 61  62 6c 79 20 73 69 7a 65  | reasonably size|
00000430  64 20 72 65 63 6f 72 64  20 66 6f 72 6d 61 74 2e  |d record format.|
00000440  0d 0d 69 69 29 20 53 6f  6d 65 6f 6e 65 20 77 68  |..ii) Someone wh|
00000450  6f 20 68 61 73 20 6e 65  76 65 72 20 75 73 65 64  |o has never used|
00000460  20 61 20 64 61 74 61 2d  62 61 73 65 20 73 79 73  | a data-base sys|
00000470  74 65 6d 20 62 65 66 6f  72 65 2c 20 61 6e 64 20  |tem before, and |
00000480  69 73 20 77 61 6e 74 69  6e 67 0d 73 6f 6d 65 20  |is wanting.some |
00000490  65 78 70 65 72 69 65 6e  63 65 20 77 69 74 68 20  |experience with |
000004a0  61 20 73 6d 61 6c 6c 20  73 79 73 74 65 6d 20 73  |a small system s|
000004b0  6f 20 61 73 20 74 6f 20  6f 62 74 61 69 6e 20 61  |o as to obtain a|
000004c0  20 62 65 74 74 65 72 20  75 6e 64 65 72 73 74 61  | better understa|
000004d0  6e 64 69 6e 67 0d 6f 66  20 74 68 65 20 62 61 73  |nding.of the bas|
000004e0  69 63 20 70 72 69 6e 63  69 70 6c 65 73 20 69 6e  |ic principles in|
000004f0  76 6f 6c 76 65 64 2e 0d  0d 69 69 69 29 20 46 72  |volved...iii) Fr|
00000500  6f 6d 20 74 68 65 20 70  72 6f 67 72 61 6d 6d 69  |om the programmi|
00000510  6e 67 20 70 6f 69 6e 74  20 6f 66 20 76 69 65 77  |ng point of view|
00000520  20 74 68 65 72 65 20 69  73 20 61 20 66 75 6c 6c  | there is a full|
00000530  20 64 65 73 63 72 69 70  74 69 6f 6e 20 6f 66 20  | description of |
00000540  74 68 65 0d 72 6f 75 74  69 6e 65 73 20 65 74 63  |the.routines etc|
00000550  2e 20 69 6e 63 6c 75 64  65 64 20 69 6e 20 74 68  |. included in th|
00000560  69 73 20 61 72 74 69 63  6c 65 2c 20 77 68 69 63  |is article, whic|
00000570  68 20 6d 61 79 20 68 65  6c 70 20 73 6f 6d 65 6f  |h may help someo|
00000580  6e 65 20 74 6f 20 77 72  69 74 65 20 61 0d 73 79  |ne to write a.sy|
00000590  73 74 65 6d 20 6f 66 20  74 68 65 72 65 20 6f 77  |stem of there ow|
000005a0  6e 2e 0d 0d 57 48 41 54  20 44 41 54 41 42 41 53  |n...WHAT DATABAS|
000005b0  45 20 44 4f 45 53 20 3a  0d 0d 41 73 20 74 68 65  |E DOES :..As the|
000005c0  20 6e 61 6d 65 20 73 75  67 67 65 73 74 73 2c 20  | name suggests, |
000005d0  74 68 69 73 20 70 72 6f  67 72 61 6d 20 69 73 20  |this program is |
000005e0  61 20 64 61 74 61 20 62  61 73 65 20 74 68 61 74  |a data base that|
000005f0  20 65 6e 61 62 6c 65 73  20 70 69 65 63 65 73 20  | enables pieces |
00000600  6f 66 0d 64 61 74 61 20  74 6f 20 62 65 20 73 61  |of.data to be sa|
00000610  76 65 64 20 61 6e 64 20  72 65 63 61 6c 6c 65 64  |ved and recalled|
00000620  20 61 6e 64 2c 20 6f 6e  63 65 20 65 6e 74 65 72  | and, once enter|
00000630  65 64 2c 20 74 68 69 73  20 64 61 74 61 20 63 61  |ed, this data ca|
00000640  6e 20 62 65 0d 70 72 6f  63 65 73 73 65 64 20 69  |n be.processed i|
00000650  6e 20 6d 61 6e 79 20 64  69 66 66 65 72 65 6e 74  |n many different|
00000660  20 77 61 79 73 20 74 68  61 74 20 61 72 65 20 64  | ways that are d|
00000670  65 73 63 72 69 62 65 64  20 6c 61 74 65 72 2e 20  |escribed later. |
00000680  54 68 65 20 74 79 70 65  73 20 6f 66 0d 64 61 74  |The types of.dat|
00000690  61 20 65 6e 74 65 72 65  64 20 61 72 65 20 75 70  |a entered are up|
000006a0  20 74 6f 20 79 6f 75 2c  20 62 75 74 20 66 6f 72  | to you, but for|
000006b0  20 65 78 61 6d 70 6c 65  20 74 68 65 20 73 79 73  | example the sys|
000006c0  74 65 6d 20 63 6f 75 6c  64 20 68 6f 6c 64 20 6e  |tem could hold n|
000006d0  61 6d 65 73 2c 0d 61 64  64 72 65 73 73 65 73 20  |ames,.addresses |
000006e0  61 6e 64 20 70 68 6f 6e  65 20 6e 75 6d 62 65 72  |and phone number|
000006f0  73 2c 20 77 68 69 63 68  20 63 6f 75 6c 64 20 74  |s, which could t|
00000700  68 65 6e 20 62 65 20 72  65 63 61 6c 6c 65 64 20  |hen be recalled |
00000710  77 68 65 6e 65 76 65 72  20 79 6f 75 0d 77 61 6e  |whenever you.wan|
00000720  74 2e 20 42 65 66 6f 72  65 20 67 6f 69 6e 67 20  |t. Before going |
00000730  6f 6e 2c 20 49 20 77 69  6c 6c 20 6e 6f 77 20 65  |on, I will now e|
00000740  78 70 6c 61 69 6e 20 77  68 61 74 20 65 78 61 63  |xplain what exac|
00000750  74 6c 79 20 61 20 64 61  74 61 20 66 69 6c 65 20  |tly a data file |
00000760  69 73 2c 0d 77 68 69 63  68 20 77 69 6c 6c 20 6d  |is,.which will m|
00000770  61 6b 65 20 74 68 65 20  72 65 73 74 20 6f 66 20  |ake the rest of |
00000780  74 68 65 20 61 72 74 69  63 6c 65 20 65 61 73 69  |the article easi|
00000790  65 72 20 74 6f 20 66 6f  6c 6c 6f 77 2e 0d 0d 53  |er to follow...S|
000007a0  74 69 6c 6c 20 75 73 69  6e 67 20 6f 75 72 20 65  |till using our e|
000007b0  78 61 6d 70 6c 65 20 6f  66 20 61 20 6e 61 6d 65  |xample of a name|
000007c0  73 20 66 69 6c 65 2c 20  61 20 74 79 70 69 63 61  |s file, a typica|
000007d0  6c 20 65 6e 74 72 79 20  28 77 68 69 63 68 20 69  |l entry (which i|
000007e0  73 20 63 61 6c 6c 65 64  0d 61 20 52 45 43 4f 52  |s called.a RECOR|
000007f0  44 29 2c 20 6d 61 79 20  62 65 20 3a 0d 0d 52 45  |D), may be :..RE|
00000800  43 4f 52 44 20 31 0d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |CORD 1.---------|
00000810  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000820  2d 2d 0d 4e 41 4d 45 20  3a 20 42 4f 42 20 41 4e  |--.NAME : BOB AN|
00000830  44 45 52 53 4f 4e 0d 0d  41 44 44 52 45 53 53 20  |DERSON..ADDRESS |
00000840  3a 20 31 33 20 42 41 43  4b 45 52 53 20 46 49 45  |: 13 BACKERS FIE|
00000850  4c 44 2c 0d 20 20 20 20  20 20 20 20 20 4d 41 52  |LD,.         MAR|
00000860  54 4f 4e 2c 0d 20 20 20  20 20 20 20 20 20 54 48  |TON,.         TH|
00000870  45 20 42 4f 52 4f 2c 0d  20 20 20 20 20 20 20 20  |E BORO,.        |
00000880  20 45 4e 47 4c 41 4e 44  2e 0d 0d 50 48 4f 4e 45  | ENGLAND...PHONE|
00000890  20 4e 4f 53 3a 20 28 30  31 32 33 29 20 34 35 36  | NOS: (0123) 456|
000008a0  37 38 39 0d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |789.------------|
000008b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0d  |---------------.|
000008c0  0d 54 68 65 20 73 74 72  69 6e 67 73 20 22 4e 41  |.The strings "NA|
000008d0  4d 45 20 3a 22 2c 20 22  41 44 44 52 45 53 53 20  |ME :", "ADDRESS |
000008e0  3a 22 2c 20 61 6e 64 20  22 50 48 4f 4e 45 20 4e  |:", and "PHONE N|
000008f0  4f 53 20 3a 22 20 61 72  65 20 74 68 65 20 46 49  |OS :" are the FI|
00000900  45 4c 44 20 54 49 54 4c  45 53 2c 0d 77 68 69 63  |ELD TITLES,.whic|
00000910  68 20 72 65 6d 61 69 6e  20 63 6f 6e 73 74 61 6e  |h remain constan|
00000920  74 20 6f 6e 63 65 20 74  68 65 20 66 69 6c 65 20  |t once the file |
00000930  68 61 73 20 62 65 65 6e  20 73 65 74 20 75 70 2e  |has been set up.|
00000940  0d 0d 41 66 74 65 72 20  74 68 65 20 66 69 65 6c  |..After the fiel|
00000950  64 20 74 69 74 6c 65 73  20 68 61 76 65 20 62 65  |d titles have be|
00000960  65 6e 20 64 65 66 69 6e  65 64 2c 20 79 6f 75 20  |en defined, you |
00000970  74 68 65 6e 20 68 61 76  65 20 74 6f 20 64 65 66  |then have to def|
00000980  69 6e 65 20 74 68 65 0d  66 69 65 6c 64 20 6c 65  |ine the.field le|
00000990  6e 67 74 68 73 2c 20 77  68 69 63 68 20 6d 65 61  |ngths, which mea|
000009a0  6e 73 20 74 68 65 20 61  6d 6f 75 6e 74 20 6f 66  |ns the amount of|
000009b0  20 63 68 61 72 61 63 74  65 72 73 20 74 68 61 74  | characters that|
000009c0  20 6d 61 79 20 62 65 20  6e 65 65 64 65 64 20 74  | may be needed t|
000009d0  6f 0d 68 6f 6c 64 2c 20  66 6f 72 20 65 78 61 6d  |o.hold, for exam|
000009e0  70 6c 65 2c 20 61 6e 20  61 64 64 72 65 73 73 2e  |ple, an address.|
000009f0  20 49 6e 20 74 68 65 20  61 62 6f 76 65 20 65 78  | In the above ex|
00000a00  61 6d 70 6c 65 2c 20 61  20 67 6f 6f 64 20 66 69  |ample, a good fi|
00000a10  65 6c 64 20 6c 65 6e 67  74 68 0d 66 6f 72 20 74  |eld length.for t|
00000a20  68 65 20 66 69 65 6c 64  20 74 69 74 6c 65 20 22  |he field title "|
00000a30  4e 41 4d 45 20 3a 22 20  77 6f 75 6c 64 20 62 65  |NAME :" would be|
00000a40  20 61 62 6f 75 74 20 32  30 2c 20 62 65 63 61 75  | about 20, becau|
00000a50  73 65 20 69 74 20 77 6f  75 6c 64 20 62 65 0d 75  |se it would be.u|
00000a60  6e 6c 69 6b 65 6c 79 20  74 6f 20 68 61 76 65 20  |nlikely to have |
00000a70  61 20 6e 61 6d 65 20 77  69 74 68 20 6d 6f 72 65  |a name with more|
00000a80  20 74 68 61 6e 20 32 30  20 63 68 61 72 61 63 74  | than 20 charact|
00000a90  65 72 73 20 69 6e 20 69  74 2e 0d 0d 41 73 20 61  |ers in it...As a|
00000aa0  20 73 75 6d 6d 61 72 79  20 74 68 65 6e 2c 20 44  | summary then, D|
00000ab0  41 54 41 42 41 53 45 20  65 6e 61 62 6c 65 73 20  |ATABASE enables |
00000ac0  79 6f 75 20 74 6f 20 66  69 72 73 74 6c 79 20 65  |you to firstly e|
00000ad0  6e 74 65 72 20 74 68 65  20 66 69 65 6c 64 20 74  |nter the field t|
00000ae0  69 74 6c 65 73 0d 61 6e  64 20 66 69 65 6c 64 20  |itles.and field |
00000af0  6c 65 6e 67 74 68 73 20  74 68 61 74 20 61 72 65  |lengths that are|
00000b00  20 77 61 6e 74 65 64 20  66 6f 72 20 74 68 65 20  | wanted for the |
00000b10  66 69 6c 65 2c 20 61 6e  64 20 6f 6e 63 65 20 73  |file, and once s|
00000b20  65 74 20 75 70 2c 20 74  68 65 20 75 73 65 72 0d  |et up, the user.|
00000b30  63 61 6e 20 74 68 65 6e  20 65 6e 74 65 72 20 72  |can then enter r|
00000b40  65 63 6f 72 64 73 20 69  6e 74 6f 20 74 68 65 20  |ecords into the |
00000b50  66 69 6c 65 2e 0d 0d 53  43 52 45 45 4e 20 4c 41  |file...SCREEN LA|
00000b60  59 4f 55 54 20 3a 0d 0d  54 68 65 20 70 72 6f 67  |YOUT :..The prog|
00000b70  72 61 6d 20 75 73 65 73  20 4d 4f 44 45 37 20 74  |ram uses MODE7 t|
00000b80  6f 20 77 6f 72 6b 20 69  6e 2c 20 74 68 75 73 20  |o work in, thus |
00000b90  6c 65 61 76 69 6e 67 20  70 6c 65 6e 74 79 20 6f  |leaving plenty o|
00000ba0  66 20 6d 65 6d 6f 72 79  20 66 6f 72 20 74 68 65  |f memory for the|
00000bb0  0d 64 61 74 61 20 66 69  6c 65 2e 20 54 68 65 20  |.data file. The |
00000bc0  73 63 72 65 65 6e 20 69  73 20 73 70 6c 69 74 20  |screen is split |
00000bd0  75 70 20 69 6e 74 6f 20  74 68 72 65 65 20 6d 61  |up into three ma|
00000be0  69 6e 20 61 72 65 61 73  2e 20 54 68 65 20 74 6f  |in areas. The to|
00000bf0  70 20 70 61 72 74 20 6f  66 0d 74 68 65 20 73 63  |p part of.the sc|
00000c00  72 65 65 6e 20 67 69 76  65 73 20 64 65 74 61 69  |reen gives detai|
00000c10  6c 73 20 6f 66 20 74 68  65 20 63 6f 6d 6d 61 6e  |ls of the comman|
00000c20  64 73 20 61 76 61 69 6c  61 62 6c 65 2c 20 61 6e  |ds available, an|
00000c30  64 20 77 68 65 6e 65 76  65 72 20 61 20 63 6f 6d  |d whenever a com|
00000c40  6d 61 6e 64 0d 69 73 20  73 65 6c 65 63 74 65 64  |mand.is selected|
00000c50  2c 20 61 20 6d 6f 72 65  20 64 65 74 61 69 6c 65  |, a more detaile|
00000c60  64 20 65 78 70 6c 61 6e  61 74 69 6f 6e 20 69 73  |d explanation is|
00000c70  20 67 69 76 65 6e 2e 0d  0d 54 68 65 20 6d 69 64  | given...The mid|
00000c80  64 6c 65 20 70 61 72 74  20 6f 66 20 74 68 65 20  |dle part of the |
00000c90  73 63 72 65 65 6e 20 69  73 20 75 73 65 64 20 74  |screen is used t|
00000ca0  6f 20 64 69 73 70 6c 61  79 20 74 68 65 20 63 75  |o display the cu|
00000cb0  72 72 65 6e 74 6c 79 20  73 65 6c 65 63 74 65 64  |rrently selected|
00000cc0  0d 72 65 63 6f 72 64 2c  20 77 68 69 6c 65 20 74  |.record, while t|
00000cd0  68 65 20 62 6f 74 74 6f  6d 20 6f 66 20 74 68 65  |he bottom of the|
00000ce0  20 73 63 72 65 65 6e 20  67 69 76 65 73 20 64 65  | screen gives de|
00000cf0  74 61 69 6c 73 20 61 62  6f 75 74 20 74 68 65 20  |tails about the |
00000d00  63 75 72 72 65 6e 74 0d  64 61 74 61 20 66 69 6c  |current.data fil|
00000d10  65 2c 20 69 6e 63 6c 75  64 69 6e 67 20 74 68 65  |e, including the|
00000d20  20 61 6d 6f 75 6e 74 20  6f 66 20 72 65 63 6f 72  | amount of recor|
00000d30  64 73 20 63 75 72 72 65  6e 74 6c 79 20 69 6e 20  |ds currently in |
00000d40  74 68 65 20 66 69 6c 65  2c 20 74 68 65 0d 72 65  |the file, the.re|
00000d50  6d 61 69 6e 69 6e 67 20  6d 65 6d 6f 72 79 20 73  |maining memory s|
00000d60  70 61 63 65 2c 20 74 68  65 20 6c 61 73 74 20 66  |pace, the last f|
00000d70  69 6c 65 6e 61 6d 65 20  65 6e 74 65 72 65 64 20  |ilename entered |
00000d80  61 6e 64 20 74 68 65 20  72 65 63 6f 72 64 20 6e  |and the record n|
00000d90  75 6d 62 65 72 20 6f 66  0d 74 68 65 20 72 65 63  |umber of.the rec|
00000da0  6f 72 64 20 74 68 61 74  20 69 73 20 63 75 72 72  |ord that is curr|
00000db0  65 6e 74 6c 79 20 62 65  69 6e 67 20 64 69 73 70  |ently being disp|
00000dc0  6c 61 79 65 64 2e 0d 0d  44 41 54 41 42 41 53 45  |layed...DATABASE|
00000dd0  20 43 4f 4d 4d 41 4e 44  53 20 3a 0d 0d 41 73 20  | COMMANDS :..As |
00000de0  77 65 6c 6c 20 61 73 20  65 6e 61 62 6c 69 6e 67  |well as enabling|
00000df0  20 61 20 66 69 6c 65 20  74 6f 20 62 65 20 63 72  | a file to be cr|
00000e00  65 61 74 65 64 2c 20 44  41 54 41 42 41 53 45 20  |eated, DATABASE |
00000e10  61 6c 73 6f 20 73 75 70  70 6f 72 74 73 20 63 65  |also supports ce|
00000e20  72 74 61 69 6e 0d 63 6f  6d 6d 61 6e 64 73 20 74  |rtain.commands t|
00000e30  68 61 74 20 63 61 6e 20  64 6f 20 76 61 72 69 6f  |hat can do vario|
00000e40  75 73 20 74 68 69 6e 67  73 20 74 6f 20 74 68 65  |us things to the|
00000e50  20 72 65 63 6f 72 64 73  20 74 68 61 74 20 68 61  | records that ha|
00000e60  76 65 20 62 65 65 6e 20  65 6e 74 65 72 65 64 2e  |ve been entered.|
00000e70  0d 54 68 65 20 63 6f 6d  6d 61 6e 64 73 20 61 72  |.The commands ar|
00000e80  65 20 61 63 63 65 73 73  65 64 20 62 79 20 73 69  |e accessed by si|
00000e90  6d 70 6c 79 20 70 72 65  73 73 69 6e 67 20 74 68  |mply pressing th|
00000ea0  65 20 61 70 70 72 6f 70  72 69 61 74 65 20 6b 65  |e appropriate ke|
00000eb0  79 2c 20 75 70 6f 6e 0d  77 68 69 63 68 20 79 6f  |y, upon.which yo|
00000ec0  75 20 77 69 6c 6c 20 62  65 20 67 69 76 65 6e 20  |u will be given |
00000ed0  69 6e 66 6f 72 6d 61 74  69 6f 6e 20 61 62 6f 75  |information abou|
00000ee0  74 20 68 6f 77 20 74 6f  20 75 73 65 20 74 68 65  |t how to use the|
00000ef0  20 63 6f 6d 6d 61 6e 64  20 61 6e 64 20 77 68 61  | command and wha|
00000f00  74 0d 69 74 20 64 6f 65  73 2e 20 49 66 20 79 6f  |t.it does. If yo|
00000f10  75 20 74 72 79 20 74 6f  20 75 73 65 20 61 20 63  |u try to use a c|
00000f20  6f 6d 6d 61 6e 64 20 74  68 61 74 20 63 61 6e 6e  |ommand that cann|
00000f30  6f 74 20 62 65 20 75 73  65 64 20 61 74 20 74 68  |ot be used at th|
00000f40  61 74 20 6d 6f 6d 65 6e  74 0d 28 65 2e 67 2e 20  |at moment.(e.g. |
00000f50  69 66 20 79 6f 75 20 74  72 79 20 74 6f 20 61 64  |if you try to ad|
00000f60  64 20 61 20 72 65 63 6f  72 64 20 74 6f 20 61 20  |d a record to a |
00000f70  66 69 6c 65 20 74 68 61  74 20 64 6f 65 73 20 6e  |file that does n|
00000f80  6f 74 20 65 78 69 73 74  29 2c 20 74 68 65 0d 70  |ot exist), the.p|
00000f90  72 6f 67 72 61 6d 20 77  69 6c 6c 20 69 6e 66 6f  |rogram will info|
00000fa0  72 6d 20 79 6f 75 2c 20  61 6e 64 20 61 6c 73 6f  |rm you, and also|
00000fb0  20 67 69 76 65 20 79 6f  75 20 61 20 68 69 6e 74  | give you a hint|
00000fc0  20 61 73 20 74 6f 20 77  68 61 74 20 6d 69 67 68  | as to what migh|
00000fd0  74 20 68 61 76 65 0d 67  6f 6e 65 20 77 72 6f 6e  |t have.gone wron|
00000fe0  67 2c 20 61 6e 64 20 68  6f 77 20 74 6f 20 72 65  |g, and how to re|
00000ff0  6d 65 64 79 20 74 68 65  20 70 72 6f 62 6c 65 6d  |medy the problem|
00001000  2e 20 54 68 65 20 70 72  6f 67 72 61 6d 20 69 73  |. The program is|
00001010  20 76 65 72 79 20 75 73  65 72 0d 66 72 69 65 6e  | very user.frien|
00001020  64 6c 79 20 69 6e 20 74  68 69 73 20 72 65 73 70  |dly in this resp|
00001030  65 63 74 2c 20 61 6e 64  20 62 65 63 61 75 73 65  |ect, and because|
00001040  20 6f 66 20 74 68 69 73  20 79 6f 75 20 73 68 6f  | of this you sho|
00001050  75 6c 64 20 73 6f 6f 6e  20 6c 65 61 72 6e 20 68  |uld soon learn h|
00001060  6f 77 20 74 6f 0d 75 73  65 20 74 68 65 20 70 72  |ow to.use the pr|
00001070  6f 67 72 61 6d 20 74 6f  20 69 74 73 20 66 75 6c  |ogram to its ful|
00001080  6c 65 73 74 20 70 6f 74  65 6e 74 69 61 6c 2e 20  |lest potential. |
00001090  44 6f 20 6e 6f 74 20 77  6f 72 72 79 20 61 62 6f  |Do not worry abo|
000010a0  75 74 20 63 72 61 73 68  69 6e 67 20 74 68 65 0d  |ut crashing the.|
000010b0  70 72 6f 67 72 61 6d 20  64 75 65 20 74 6f 2c 20  |program due to, |
000010c0  66 6f 72 20 65 78 61 6d  70 6c 65 2c 20 61 6e 20  |for example, an |
000010d0  69 6c 6c 65 67 61 6c 20  6f 70 65 72 61 74 69 6e  |illegal operatin|
000010e0  67 20 73 79 73 74 65 6d  20 63 61 6c 6c 20 62 65  |g system call be|
000010f0  63 61 75 73 65 0d 74 68  65 72 65 20 69 73 20 61  |cause.there is a|
00001100  6e 20 65 72 72 6f 72 20  63 68 65 63 6b 69 6e 67  |n error checking|
00001110  20 72 6f 75 74 69 6e 65  20 74 68 61 74 20 74 72  | routine that tr|
00001120  61 70 73 20 61 6e 79 20  65 72 72 6f 72 73 2c 20  |aps any errors, |
00001130  72 65 70 6f 72 74 73 20  74 68 65 6d 2c 0d 61 6e  |reports them,.an|
00001140  64 20 74 68 65 6e 20 72  65 74 75 72 6e 73 20 63  |d then returns c|
00001150  6f 6e 74 72 6f 6c 20 62  61 63 6b 20 74 6f 20 74  |ontrol back to t|
00001160  68 65 20 70 72 6f 67 72  61 6d 20 77 69 74 68 6f  |he program witho|
00001170  75 74 20 6c 6f 73 69 6e  67 20 74 68 65 20 64 61  |ut losing the da|
00001180  74 61 20 66 69 6c 65 0d  74 68 61 74 20 77 61 73  |ta file.that was|
00001190  20 63 75 72 72 65 6e 74  6c 79 20 69 6e 20 6d 65  | currently in me|
000011a0  6d 6f 72 79 20 28 69 66  20 74 68 65 72 65 20 77  |mory (if there w|
000011b0  61 73 20 6f 6e 65 29 2e  0d 0d 54 68 65 20 63 6f  |as one)...The co|
000011c0  6d 6d 61 6e 64 73 20 61  76 61 69 6c 61 62 6c 65  |mmands available|
000011d0  20 61 72 65 20 3a 0d 0d  28 41 29 20 41 44 44 20  | are :..(A) ADD |
000011e0  20 20 20 20 2d 20 61 64  64 20 61 20 72 65 63 6f  |    - add a reco|
000011f0  72 64 2e 0d 28 42 29 20  42 41 43 4b 20 20 20 20  |rd..(B) BACK    |
00001200  2d 20 62 61 63 6b 73 74  65 70 20 74 68 72 6f 75  |- backstep throu|
00001210  67 68 20 74 68 65 20 66  69 6c 65 2e 0d 28 44 29  |gh the file..(D)|
00001220  20 44 45 4c 45 54 45 20  20 2d 20 64 65 6c 65 74  | DELETE  - delet|
00001230  65 20 61 20 72 65 63 6f  72 64 2e 0d 28 45 29 20  |e a record..(E) |
00001240  45 44 49 54 20 20 20 20  2d 20 65 64 69 74 20 61  |EDIT    - edit a|
00001250  20 72 65 63 6f 72 64 2e  0d 28 46 29 20 46 4f 52  | record..(F) FOR|
00001260  57 41 52 44 20 2d 20 66  6f 72 77 61 72 64 73 74  |WARD - forwardst|
00001270  65 70 20 74 68 72 6f 75  67 68 20 74 68 65 20 66  |ep through the f|
00001280  69 6c 65 2e 0d 28 48 29  20 48 45 4c 50 20 20 20  |ile..(H) HELP   |
00001290  20 2d 20 67 69 76 65 73  20 64 65 74 61 69 6c 73  | - gives details|
000012a0  20 6f 66 20 63 6f 6d 6d  61 6e 64 73 2e 0d 28 4b  | of commands..(K|
000012b0  29 20 4b 45 45 50 20 20  20 20 2d 20 73 61 76 65  |) KEEP    - save|
000012c0  20 74 68 65 20 66 69 6c  65 2e 0d 28 4c 29 20 4c  | the file..(L) L|
000012d0  4f 41 44 20 20 20 20 2d  20 6c 6f 61 64 20 74 68  |OAD    - load th|
000012e0  65 20 66 69 6c 65 2e 0d  28 4e 29 20 4e 45 57 20  |e file..(N) NEW |
000012f0  20 20 20 20 2d 20 64 65  66 69 6e 65 20 6e 65 77  |    - define new|
00001300  20 66 69 6c 65 2e 0d 28  4f 29 20 4f 52 44 45 52  | file..(O) ORDER|
00001310  20 20 20 2d 20 72 65 2d  61 72 72 61 6e 67 65 20  |   - re-arrange |
00001320  66 69 6c 65 2e 0d 28 2a  29 20 2a 4f 53 20 20 20  |file..(*) *OS   |
00001330  20 20 2d 20 65 6e 74 65  72 20 4f 53 20 63 6f 6d  |  - enter OS com|
00001340  6d 61 6e 64 2e 0d 28 50  29 20 50 52 49 4e 54 20  |mand..(P) PRINT |
00001350  20 20 2d 20 73 65 6e 64  20 66 69 6c 65 20 74 6f  |  - send file to|
00001360  20 70 72 69 6e 74 65 72  2e 0d 28 52 29 20 52 45  | printer..(R) RE|
00001370  53 45 54 20 20 20 2d 20  72 65 73 65 74 20 44 41  |SET   - reset DA|
00001380  54 41 42 41 53 45 2e 0d  28 53 29 20 53 45 41 52  |TABASE..(S) SEAR|
00001390  43 48 20 20 2d 20 73 65  61 72 63 68 20 66 6f 72  |CH  - search for|
000013a0  20 61 20 72 65 63 6f 72  64 2e 0d 0d 41 73 20 6d  | a record...As m|
000013b0  65 6e 74 69 6f 6e 65 64  20 62 65 66 6f 72 65 2c  |entioned before,|
000013c0  20 44 41 54 41 42 41 53  45 20 69 73 20 76 65 72  | DATABASE is ver|
000013d0  79 20 75 73 65 72 2d 66  72 69 65 6e 64 6c 79 2c  |y user-friendly,|
000013e0  20 61 6e 64 20 79 6f 75  20 73 68 6f 75 6c 64 20  | and you should |
000013f0  68 61 76 65 0d 6e 6f 20  70 72 6f 62 6c 65 6d 73  |have.no problems|
00001400  20 75 73 69 6e 67 20 74  68 65 20 63 6f 6d 6d 61  | using the comma|
00001410  6e 64 73 2c 20 62 75 74  20 69 6e 20 63 61 73 65  |nds, but in case|
00001420  20 74 68 65 72 65 20 61  72 65 20 61 20 66 65 77  | there are a few|
00001430  20 70 6f 69 6e 74 73 20  74 68 61 74 0d 61 72 65  | points that.are|
00001440  20 73 74 69 6c 6c 20 6e  6f 74 20 63 6c 65 61 72  | still not clear|
00001450  20 77 68 65 6e 20 75 73  69 6e 67 20 74 68 65 20  | when using the |
00001460  70 72 6f 67 72 61 6d 2c  20 61 6e 20 65 78 70 6c  |program, an expl|
00001470  61 6e 61 74 69 6f 6e 20  69 73 20 6e 6f 77 20 67  |anation is now g|
00001480  69 76 65 6e 20 6f 66 0d  61 6c 6c 20 74 68 65 20  |iven of.all the |
00001490  63 6f 6d 6d 61 6e 64 73  2e 0d 0d 41 44 44 20 45  |commands...ADD E|
000014a0  6e 61 62 6c 65 73 20 61  20 72 65 63 6f 72 64 20  |nables a record |
000014b0  74 6f 20 62 65 20 61 64  64 65 64 20 74 6f 20 74  |to be added to t|
000014c0  68 65 20 64 61 74 61 20  66 69 6c 65 20 63 75 72  |he data file cur|
000014d0  72 65 6e 74 6c 79 20 69  6e 20 6d 65 6d 6f 72 79  |rently in memory|
000014e0  2e 20 54 68 65 0d 20 72  65 63 6f 72 64 20 61 64  |. The. record ad|
000014f0  64 65 64 20 69 73 20 70  6c 61 63 65 64 20 61 74  |ded is placed at|
00001500  20 74 68 65 20 65 6e 64  20 6f 66 20 74 68 65 20  | the end of the |
00001510  66 69 6c 65 2e 0d 42 41  43 4b 20 57 68 65 6e 65  |file..BACK Whene|
00001520  76 65 72 20 42 20 69 73  20 70 72 65 73 73 65 64  |ver B is pressed|
00001530  2c 20 74 68 65 20 63 75  72 72 65 6e 74 20 72 65  |, the current re|
00001540  63 6f 72 64 20 6e 75 6d  62 65 72 20 69 73 20 64  |cord number is d|
00001550  65 63 72 65 6d 65 6e 74  65 64 20 62 79 0d 20 6f  |ecremented by. o|
00001560  6e 65 2c 20 73 6f 20 74  68 61 74 20 74 68 65 20  |ne, so that the |
00001570  70 72 65 76 69 6f 75 73  20 72 65 63 6f 72 64 20  |previous record |
00001580  69 73 20 64 69 73 70 6c  61 79 65 64 20 6f 6e 20  |is displayed on |
00001590  74 68 65 20 73 63 72 65  65 6e 2e 20 54 68 69 73  |the screen. This|
000015a0  0d 20 63 6f 6d 6d 61 6e  64 2c 20 61 6c 6f 6e 67  |. command, along|
000015b0  20 77 69 74 68 20 28 46  29 20 46 4f 52 57 41 52  | with (F) FORWAR|
000015c0  44 2c 20 65 6e 61 62 6c  65 73 20 74 68 65 20 66  |D, enables the f|
000015d0  69 6c 65 20 74 6f 20 62  65 20 73 63 61 6e 6e 65  |ile to be scanne|
000015e0  64 20 74 68 72 6f 75 67  68 2c 0d 20 61 20 72 65  |d through,. a re|
000015f0  63 6f 72 64 20 61 74 20  61 20 74 69 6d 65 2e 0d  |cord at a time..|
00001600  44 45 4c 45 54 45 20 54  68 69 73 20 77 69 6c 6c  |DELETE This will|
00001610  20 64 65 6c 65 74 65 20  74 68 65 20 72 65 63 6f  | delete the reco|
00001620  72 64 20 63 75 72 72 65  6e 74 20 62 65 69 6e 67  |rd current being|
00001630  20 64 69 73 70 6c 61 79  65 64 20 6f 6e 20 74 68  | displayed on th|
00001640  65 20 73 63 72 65 65 6e  2c 0d 20 61 66 74 65 72  |e screen,. after|
00001650  77 68 69 63 68 20 74 68  65 20 66 69 6c 65 20 77  |which the file w|
00001660  69 6c 6c 20 62 65 20 63  6f 6d 70 61 63 74 65 64  |ill be compacted|
00001670  2e 20 42 65 63 61 75 73  65 20 74 68 69 73 20 63  |. Because this c|
00001680  6f 6d 6d 6d 61 6e 64 20  69 73 0d 20 69 72 72 65  |ommmand is. irre|
00001690  76 65 72 73 61 62 6c 65  20 69 6e 20 69 74 73 20  |versable in its |
000016a0  65 66 66 65 63 74 2c 20  79 6f 75 20 61 72 65 20  |effect, you are |
000016b0  66 69 72 73 74 20 61 73  6b 65 64 20 69 66 20 79  |first asked if y|
000016c0  6f 75 20 72 65 61 6c 6c  79 20 77 61 6e 74 20 74  |ou really want t|
000016d0  6f 20 67 6f 0d 20 61 68  65 61 64 20 61 6e 64 20  |o go. ahead and |
000016e0  64 65 6c 65 74 65 20 74  68 65 20 72 65 63 6f 72  |delete the recor|
000016f0  64 2e 0d 45 44 49 54 20  54 68 69 73 20 63 6f 6d  |d..EDIT This com|
00001700  6d 61 6e 64 20 77 69 6c  6c 20 65 6e 61 62 6c 65  |mand will enable|
00001710  20 74 68 65 20 64 69 73  70 6c 61 79 65 64 20 72  | the displayed r|
00001720  65 63 6f 72 64 20 74 6f  20 62 65 20 65 64 69 74  |ecord to be edit|
00001730  65 64 2c 20 65 6e 61 62  6c 69 6e 67 0d 20 6d 69  |ed, enabling. mi|
00001740  73 74 61 6b 65 73 20 65  74 63 2e 20 74 6f 20 62  |stakes etc. to b|
00001750  65 20 63 6f 72 72 65 63  74 65 64 2e 0d 46 4f 52  |e corrected..FOR|
00001760  57 41 52 44 20 45 6e 61  62 6c 65 73 20 74 68 65  |WARD Enables the|
00001770  20 72 65 63 6f 72 64 73  20 74 6f 20 62 65 20 73  | records to be s|
00001780  63 61 6e 6e 65 64 20 69  6e 20 61 20 66 6f 72 77  |canned in a forw|
00001790  61 72 64 20 64 69 72 65  63 74 69 6f 6e 20 28 73  |ard direction (s|
000017a0  65 65 0d 20 42 41 43 4b  29 2e 0d 48 45 4c 50 20  |ee. BACK)..HELP |
000017b0  54 68 69 73 20 63 6f 6d  6d 61 6e 64 20 69 73 20  |This command is |
000017c0  76 65 72 79 20 75 73 65  66 75 6c 6c 20 62 65 63  |very usefull bec|
000017d0  61 75 73 65 20 69 74 20  67 69 76 65 73 20 61 20  |ause it gives a |
000017e0  73 75 6d 6d 61 72 79 20  6f 66 20 61 6c 6c 20 74  |summary of all t|
000017f0  68 65 0d 20 63 6f 6d 6d  61 6e 64 73 20 61 6e 64  |he. commands and|
00001800  20 77 68 61 74 20 74 68  65 79 20 64 6f 2e 0d 4b  | what they do..K|
00001810  45 45 50 20 52 65 73 75  6c 74 73 20 69 6e 20 74  |EEP Results in t|
00001820  68 65 20 64 61 74 61 20  66 69 6c 65 20 69 6e 20  |he data file in |
00001830  6d 65 6d 6f 72 79 20 62  65 69 6e 67 20 73 61 76  |memory being sav|
00001840  65 64 20 74 6f 20 74 68  65 20 63 75 72 72 65 6e  |ed to the curren|
00001850  74 6c 79 0d 20 61 63 74  69 76 65 20 66 69 6c 69  |tly. active fili|
00001860  6e 67 20 73 79 73 74 65  6d 2c 20 77 68 69 63 68  |ng system, which|
00001870  20 63 61 6e 20 74 68 65  6e 20 62 65 20 6c 6f 61  | can then be loa|
00001880  64 65 64 20 69 6e 20 75  73 69 6e 67 20 4c 4f 41  |ded in using LOA|
00001890  44 2e 0d 20 4c 4f 41 44  20 45 6e 61 62 6c 65 73  |D.. LOAD Enables|
000018a0  20 61 20 70 72 65 76 69  6f 75 73 6c 79 20 73 61  | a previously sa|
000018b0  76 65 64 20 66 69 6c 65  20 74 6f 20 62 65 20 6c  |ved file to be l|
000018c0  6f 61 64 65 64 20 69 6e  20 66 72 6f 6d 20 61 20  |oaded in from a |
000018d0  66 69 6c 69 6e 67 0d 20  73 79 73 74 65 6d 2e 20  |filing. system. |
000018e0  41 66 74 65 72 20 74 79  70 69 6e 67 20 69 6e 20  |After typing in |
000018f0  74 68 65 20 66 69 6c 65  6e 61 6d 65 20 6f 66 20  |the filename of |
00001900  74 68 65 20 64 61 74 61  20 66 69 6c 65 2c 20 79  |the data file, y|
00001910  6f 75 20 77 69 6c 6c 20  61 6c 73 6f 20 68 61 76  |ou will also hav|
00001920  65 0d 20 74 6f 20 74 79  70 65 20 69 6e 20 74 68  |e. to type in th|
00001930  65 20 70 61 73 73 77 6f  72 64 20 74 68 61 74 20  |e password that |
00001940  68 61 73 20 70 72 65 76  69 6f 75 73 6c 79 20 62  |has previously b|
00001950  65 65 6e 20 67 69 76 65  6e 20 74 6f 20 74 68 65  |een given to the|
00001960  20 66 69 6c 65 2c 20 61  6e 64 0d 20 6f 6e 6c 79  | file, and. only|
00001970  20 77 68 65 6e 20 74 68  65 20 63 6f 72 72 65 63  | when the correc|
00001980  74 20 70 61 73 73 77 6f  72 64 20 68 61 73 20 62  |t password has b|
00001990  65 65 6e 20 65 6e 74 65  72 65 64 20 77 69 6c 6c  |een entered will|
000019a0  20 74 68 65 20 72 65 73  74 20 6f 66 20 74 68 65  | the rest of the|
000019b0  20 66 69 6c 65 0d 20 62  65 20 6c 6f 61 64 65 64  | file. be loaded|
000019c0  20 69 6e 2e 20 57 68 65  6e 20 74 79 70 69 6e 67  | in. When typing|
000019d0  20 69 6e 20 74 68 65 20  70 61 73 73 77 6f 72 64  | in the password|
000019e0  2c 20 69 74 20 77 69 6c  6c 20 6e 6f 74 20 62 65  |, it will not be|
000019f0  20 70 72 69 6e 74 65 64  20 75 70 20 6f 6e 0d 20  | printed up on. |
00001a00  74 68 65 20 73 63 72 65  65 6e 20 73 6f 20 61 73  |the screen so as|
00001a10  20 74 6f 20 70 72 65 76  65 6e 74 20 61 6e 79 6f  | to prevent anyo|
00001a20  6e 65 20 65 6c 73 65 20  73 65 65 69 6e 67 20 69  |ne else seeing i|
00001a30  74 21 20 49 66 20 61 6e  20 61 74 74 65 6d 70 74  |t! If an attempt|
00001a40  20 69 73 20 6d 61 64 65  0d 20 74 6f 20 6c 6f 61  | is made. to loa|
00001a50  64 20 61 20 64 61 74 61  20 66 69 6c 65 20 74 68  |d a data file th|
00001a60  61 74 20 77 61 73 20 6e  6f 74 20 63 72 65 61 74  |at was not creat|
00001a70  65 64 20 62 79 20 44 41  54 41 42 41 53 45 2c 20  |ed by DATABASE, |
00001a80  74 68 65 20 66 69 6c 65  20 77 69 6c 6c 20 62 65  |the file will be|
00001a90  0d 20 72 65 6a 65 63 74  65 64 2e 0d 4e 45 57 20  |. rejected..NEW |
00001aa0  54 68 69 73 20 63 6f 6d  6d 61 6e 64 20 65 6e 61  |This command ena|
00001ab0  62 6c 65 73 20 61 20 6e  65 77 20 66 69 6c 65 20  |bles a new file |
00001ac0  74 6f 20 62 65 20 63 72  65 61 74 65 64 2c 20 70  |to be created, p|
00001ad0  72 6f 76 69 64 65 64 20  74 68 65 72 65 20 69 73  |rovided there is|
00001ae0  20 6e 6f 74 20 61 0d 20  66 69 6c 65 20 61 6c 72  | not a. file alr|
00001af0  65 61 64 79 20 69 6e 20  6d 65 6d 6f 72 79 20 75  |eady in memory u|
00001b00  70 6f 6e 20 77 68 69 63  68 20 69 74 20 77 69 6c  |pon which it wil|
00001b10  6c 20 68 61 76 65 20 74  6f 20 62 65 20 64 65 6c  |l have to be del|
00001b20  65 74 65 64 20 75 73 69  6e 67 20 52 45 53 45 54  |eted using RESET|
00001b30  2e 0d 20 57 68 65 6e 20  64 65 66 69 6e 69 6e 67  |.. When defining|
00001b40  20 61 20 66 69 6c 65 2c  20 74 68 65 20 66 69 72  | a file, the fir|
00001b50  73 74 20 74 68 69 6e 67  20 74 68 61 74 20 6d 75  |st thing that mu|
00001b60  73 74 20 62 65 20 64 6f  6e 65 20 69 73 20 74 6f  |st be done is to|
00001b70  20 64 65 66 69 6e 65 20  74 68 65 0d 20 66 69 65  | define the. fie|
00001b80  6c 64 20 74 69 74 6c 65  73 2c 20 61 66 74 65 72  |ld titles, after|
00001b90  77 68 69 63 68 20 74 68  65 20 66 69 65 6c 64 20  |which the field |
00001ba0  6c 65 6e 67 74 68 73 20  6d 75 73 74 20 62 65 20  |lengths must be |
00001bb0  65 6e 74 65 72 65 64 2e  20 47 72 65 61 74 20 63  |entered. Great c|
00001bc0  61 72 65 0d 20 6d 75 73  74 20 62 65 20 6d 61 64  |are. must be mad|
00001bd0  65 20 77 68 65 6e 20 64  65 66 69 6e 69 6e 67 20  |e when defining |
00001be0  74 68 65 73 65 20 62 65  63 61 75 73 65 20 74 68  |these because th|
00001bf0  65 79 20 63 61 6e 6e 6f  74 20 62 65 20 6c 61 74  |ey cannot be lat|
00001c00  65 72 20 63 68 61 6e 67  65 64 2e 0d 20 59 6f 75  |er changed.. You|
00001c10  20 73 68 6f 75 6c 64 20  6e 6f 74 20 68 61 76 65  | should not have|
00001c20  20 61 6e 79 20 70 72 6f  62 6c 65 6d 73 20 73 65  | any problems se|
00001c30  74 74 69 6e 67 20 75 70  20 61 20 66 69 6c 65 20  |tting up a file |
00001c40  62 65 63 61 75 73 65 20  74 68 65 20 70 72 6f 67  |because the prog|
00001c50  72 61 6d 0d 20 67 69 76  65 73 20 61 6c 6c 20 74  |ram. gives all t|
00001c60  68 65 20 64 65 74 61 69  6c 73 20 61 62 6f 75 74  |he details about|
00001c70  20 68 6f 77 20 74 6f 20  67 6f 20 61 62 6f 75 74  | how to go about|
00001c80  20 69 74 2e 20 46 69 6e  61 6c 6c 79 20 79 6f 75  | it. Finally you|
00001c90  20 77 69 6c 6c 20 62 65  20 61 73 6b 65 64 0d 20  | will be asked. |
00001ca0  66 6f 72 20 61 20 70 61  73 73 77 6f 72 64 20 74  |for a password t|
00001cb0  68 61 74 20 69 73 20 74  6f 20 67 6f 20 77 69 74  |hat is to go wit|
00001cc0  68 20 74 68 65 20 66 69  6c 65 2c 20 77 68 69 63  |h the file, whic|
00001cd0  68 20 77 69 6c 6c 20 73  74 6f 70 20 61 6e 79 0d  |h will stop any.|
00001ce0  20 75 6e 61 74 68 6f 75  72 69 73 65 64 20 70 65  | unathourised pe|
00001cf0  6f 70 6c 65 20 66 72 6f  6d 20 73 65 65 69 6e 67  |ople from seeing|
00001d00  20 79 6f 75 72 20 69 6e  66 6f 2e 2e 20 28 62 75  | your info.. (bu|
00001d10  74 20 6d 61 6b 65 20 73  75 72 65 20 79 6f 75 20  |t make sure you |
00001d20  72 65 6d 65 6d 62 65 72  0d 20 74 68 65 20 70 61  |remember. the pa|
00001d30  73 73 77 6f 72 64 20 6f  72 20 79 6f 75 20 77 6f  |ssword or you wo|
00001d40  6e 27 74 20 62 65 20 61  62 6c 65 20 74 6f 20 73  |n't be able to s|
00001d50  65 65 20 79 6f 75 72 20  66 69 6c 65 20 65 69 74  |ee your file eit|
00001d60  68 65 72 21 29 2e 0d 4f  52 44 45 52 20 54 68 69  |her!)..ORDER Thi|
00001d70  73 20 63 61 6e 20 73 77  61 70 20 74 77 6f 20 72  |s can swap two r|
00001d80  65 63 6f 72 64 73 20 77  69 74 68 20 65 61 63 68  |ecords with each|
00001d90  20 6f 74 68 65 72 2c 20  77 68 69 63 68 20 65 6e  | other, which en|
00001da0  61 62 6c 65 73 20 79 6f  75 20 74 6f 20 6d 6f 76  |ables you to mov|
00001db0  65 0d 20 74 68 65 20 72  65 63 6f 72 64 73 20 61  |e. the records a|
00001dc0  72 6f 75 6e 64 20 74 68  65 20 66 69 6c 65 20 73  |round the file s|
00001dd0  6f 20 61 73 20 74 6f 20  70 75 74 20 74 68 65 6d  |o as to put them|
00001de0  20 69 6e 20 74 68 65 20  6f 72 64 65 72 20 79 6f  | in the order yo|
00001df0  75 20 77 61 6e 74 20 74  68 65 6d 2e 0d 20 57 68  |u want them.. Wh|
00001e00  65 6e 20 79 6f 75 20 75  73 65 20 74 68 65 20 63  |en you use the c|
00001e10  6f 6d 6d 61 6e 64 2c 20  79 6f 75 20 77 69 6c 6c  |ommand, you will|
00001e20  20 62 65 20 61 73 6b 65  64 20 66 6f 72 20 74 77  | be asked for tw|
00001e30  6f 20 72 65 63 6f 72 64  20 6e 75 6d 62 65 72 73  |o record numbers|
00001e40  2c 20 77 68 69 63 68 0d  20 61 72 65 20 74 68 65  |, which. are the|
00001e50  20 74 77 6f 20 74 6f 20  62 65 20 73 77 61 70 70  | two to be swapp|
00001e60  65 64 2e 0d 2a 4f 53 20  54 6f 20 61 63 63 65 73  |ed..*OS To acces|
00001e70  73 20 74 68 69 73 20 63  6f 6d 6d 61 6e 64 20 73  |s this command s|
00001e80  69 6d 70 6c 79 20 6b 65  65 70 20 53 48 49 46 54  |imply keep SHIFT|
00001e90  20 70 72 65 73 73 65 64  20 61 6e 64 20 74 68 65  | pressed and the|
00001ea0  6e 20 68 69 74 20 74 68  65 20 2a 0d 20 6b 65 79  |n hit the *. key|
00001eb0  2e 20 41 20 2a 20 77 69  6c 6c 20 74 68 65 6e 20  |. A * will then |
00001ec0  63 6f 6d 65 20 6f 6e 74  6f 20 74 68 65 20 73 63  |come onto the sc|
00001ed0  72 65 65 6e 2c 20 61 66  74 65 72 77 68 69 63 68  |reen, afterwhich|
00001ee0  20 79 6f 75 20 63 61 6e  20 65 6e 74 65 72 20 79  | you can enter y|
00001ef0  6f 75 72 0d 20 6f 70 65  72 61 74 69 6e 67 20 73  |our. operating s|
00001f00  79 73 74 65 6d 20 63 6f  6d 6d 61 6e 64 2e 20 54  |ystem command. T|
00001f10  68 69 73 20 65 6e 61 62  6c 65 73 20 79 6f 75 20  |his enables you |
00001f20  74 6f 20 64 6f 20 74 68  69 6e 67 73 20 73 75 63  |to do things suc|
00001f30  68 20 61 73 0d 20 63 61  74 61 6c 6f 67 69 6e 67  |h as. cataloging|
00001f40  20 61 20 64 69 73 63 20  28 2a 43 41 54 29 2c 20  | a disc (*CAT), |
00001f50  6f 72 20 73 65 6c 65 63  74 69 6e 67 20 61 20 66  |or selecting a f|
00001f60  69 6c 69 6e 67 20 73 79  73 74 65 6d 20 28 2a 44  |iling system (*D|
00001f70  49 53 43 2c 20 2a 54 41  50 45 0d 20 65 74 63 29  |ISC, *TAPE. etc)|
00001f80  2e 20 46 6f 72 20 6d 6f  72 65 20 64 65 74 61 69  |. For more detai|
00001f90  6c 73 20 6f 66 20 6f 70  65 72 61 74 69 6e 67 20  |ls of operating |
00001fa0  73 79 73 74 65 6d 20 63  6f 6d 6d 61 6e 64 73 2c  |system commands,|
00001fb0  20 73 65 65 20 70 61 67  65 20 34 31 36 20 6f 66  | see page 416 of|
00001fc0  20 74 68 65 0d 20 75 73  65 72 20 67 75 69 64 65  | the. user guide|
00001fd0  2e 0d 50 52 49 4e 54 20  49 66 20 61 20 70 72 69  |..PRINT If a pri|
00001fe0  6e 74 65 72 20 69 73 20  63 6f 6e 6e 65 63 74 65  |nter is connecte|
00001ff0  64 20 74 6f 20 79 6f 75  72 20 63 6f 6d 70 75 74  |d to your comput|
00002000  65 72 20 79 6f 75 20 77  69 6c 6c 20 62 65 20 61  |er you will be a|
00002010  62 6c 65 20 74 6f 20 67  65 74 20 61 0d 20 68 61  |ble to get a. ha|
00002020  72 64 20 63 6f 70 79 20  6f 66 20 61 20 73 69 6e  |rd copy of a sin|
00002030  67 6c 65 20 72 65 63 6f  72 64 2c 20 6f 72 20 74  |gle record, or t|
00002040  68 65 20 77 68 6f 6c 65  20 66 69 6c 65 2e 20 57  |he whole file. W|
00002050  68 65 6e 20 70 72 69 6e  74 69 6e 67 20 6f 75 74  |hen printing out|
00002060  20 61 6c 6c 0d 20 74 68  65 20 72 65 63 6f 72 64  | all. the record|
00002070  73 2c 20 79 6f 75 20 77  69 6c 6c 20 62 65 20 61  |s, you will be a|
00002080  73 6b 65 64 20 66 6f 72  20 61 6e 20 69 6e 74 65  |sked for an inte|
00002090  72 2d 72 65 63 6f 72 64  20 73 70 61 63 65 20 63  |r-record space c|
000020a0  68 61 72 61 63 74 65 72  20 77 68 69 63 68 0d 20  |haracter which. |
000020b0  77 69 6c 6c 20 62 65 20  70 72 69 6e 74 65 64 20  |will be printed |
000020c0  69 6e 20 61 20 6c 6f 6e  67 20 6c 69 6e 65 20 74  |in a long line t|
000020d0  6f 20 73 65 70 65 72 61  74 65 20 65 61 63 68 20  |o seperate each |
000020e0  72 65 63 6f 72 64 20 6f  6e 20 74 68 65 20 70 61  |record on the pa|
000020f0  70 65 72 20 28 61 0d 20  73 75 69 74 61 62 6c 65  |per (a. suitable|
00002100  20 63 68 61 72 61 63 74  65 72 20 69 73 20 61 20  | character is a |
00002110  27 2d 27 29 2e 0d 52 45  53 45 54 20 57 68 65 6e  |'-')..RESET When|
00002120  20 79 6f 75 20 70 72 65  73 73 20 27 52 27 20 74  | you press 'R' t|
00002130  68 69 73 20 77 69 70 65  73 20 74 68 65 20 6d 65  |his wipes the me|
00002140  6d 6f 72 79 20 77 68 65  72 65 20 74 68 65 20 63  |mory where the c|
00002150  75 72 72 65 6e 74 20 66  69 6c 65 0d 20 69 73 20  |urrent file. is |
00002160  73 74 6f 72 65 64 2c 20  74 68 75 73 20 77 69 70  |stored, thus wip|
00002170  69 6e 67 20 6f 75 74 20  74 68 65 20 66 69 6c 65  |ing out the file|
00002180  2e 20 55 73 65 20 74 68  69 73 20 63 6f 6d 6d 61  |. Use this comma|
00002190  6e 64 20 63 61 72 65 66  75 6c 6c 79 2c 20 61 6e  |nd carefully, an|
000021a0  64 0d 20 6d 61 6b 65 20  73 75 72 65 20 74 68 61  |d. make sure tha|
000021b0  74 20 79 6f 75 20 68 61  76 65 20 73 61 76 65 64  |t you have saved|
000021c0  20 74 68 65 20 66 69 6c  65 20 62 65 66 6f 72 65  | the file before|
000021d0  20 75 73 69 6e 67 20 52  45 53 45 54 2e 0d 53 45  | using RESET..SE|
000021e0  41 52 43 48 20 54 68 69  73 20 63 6f 6d 6d 61 6e  |ARCH This comman|
000021f0  64 20 65 6e 61 62 6c 65  73 20 79 6f 75 20 74 6f  |d enables you to|
00002200  20 66 69 6e 64 20 61 20  72 65 63 6f 72 64 20 71  | find a record q|
00002210  75 69 63 6b 6c 79 20 62  79 20 61 73 6b 69 6e 67  |uickly by asking|
00002220  20 66 6f 72 0d 20 61 20  73 65 61 72 63 68 20 72  | for. a search r|
00002230  65 63 6f 72 64 2c 20 61  66 74 65 72 77 68 69 63  |ecord, afterwhic|
00002240  68 20 69 74 20 77 69 6c  6c 20 73 65 61 72 63 68  |h it will search|
00002250  20 74 68 65 20 66 69 6c  65 20 66 6f 72 20 61 6e  | the file for an|
00002260  6f 74 68 65 72 0d 20 72  65 63 6f 72 64 20 74 68  |other. record th|
00002270  61 74 20 69 73 20 74 68  65 20 63 6c 6f 73 65 73  |at is the closes|
00002280  74 20 6d 61 74 63 68 2e  20 55 70 6f 6e 20 64 65  |t match. Upon de|
00002290  63 69 64 69 6e 67 20 77  68 69 63 68 20 69 73 20  |ciding which is |
000022a0  74 68 65 20 62 65 73 74  0d 20 62 65 74 2c 20 69  |the best. bet, i|
000022b0  74 20 77 69 6c 6c 20 70  72 69 6e 74 20 6f 75 74  |t will print out|
000022c0  20 74 68 65 20 63 6c 6f  73 65 73 74 20 6d 61 74  | the closest mat|
000022d0  63 68 69 6e 67 20 72 65  63 6f 72 64 2e 20 53 6f  |ching record. So|
000022e0  2c 20 66 6f 72 20 65 78  61 6d 70 6c 65 2c 0d 20  |, for example,. |
000022f0  69 66 20 79 6f 75 20 77  61 6e 74 65 64 20 74 6f  |if you wanted to|
00002300  20 6b 6e 6f 77 20 4d 69  6b 65 27 73 20 70 68 6f  | know Mike's pho|
00002310  6e 65 20 6e 75 6d 62 65  72 2c 20 79 6f 75 20 77  |ne number, you w|
00002320  6f 75 6c 64 20 65 6e 74  65 72 20 4d 69 6b 65 20  |ould enter Mike |
00002330  69 6e 74 6f 0d 20 74 68  65 20 6e 61 6d 65 20 66  |into. the name f|
00002340  69 65 6c 64 2c 20 61 6e  64 20 74 68 65 6e 20 74  |ield, and then t|
00002350  68 65 20 63 6f 6d 70 75  74 65 72 20 77 6f 75 6c  |he computer woul|
00002360  64 20 63 6f 6d 65 20 75  70 20 77 69 74 68 20 74  |d come up with t|
00002370  68 65 20 72 65 73 74 20  6f 66 0d 20 68 69 73 20  |he rest of. his |
00002380  72 65 63 6f 72 64 2e 20  49 66 20 74 68 65 72 65  |record. If there|
00002390  20 77 65 72 65 20 74 77  6f 20 4d 69 6b 65 27 73  | were two Mike's|
000023a0  20 69 6e 20 74 68 65 20  66 69 6c 65 20 74 68 65  | in the file the|
000023b0  6e 20 79 6f 75 20 77 6f  75 6c 64 20 68 61 76 65  |n you would have|
000023c0  0d 20 74 6f 20 73 70 65  63 69 66 79 20 68 69 73  |. to specify his|
000023d0  20 73 65 63 6f 6e 64 20  6e 61 6d 65 20 69 6e 20  | second name in |
000023e0  74 68 65 20 73 65 61 72  63 68 20 72 65 63 6f 72  |the search recor|
000023f0  64 20 28 69 2e 65 2e 20  4d 49 4b 45 20 44 49 58  |d (i.e. MIKE DIX|
00002400  4f 4e 29 2e 0d 0d 54 45  43 48 4e 49 43 41 4c 20  |ON)...TECHNICAL |
00002410  50 4f 49 4e 54 53 20 4f  46 20 54 48 45 20 50 52  |POINTS OF THE PR|
00002420  4f 47 52 41 4d 20 3a 0d  0d 44 41 54 41 42 41 53  |OGRAM :..DATABAS|
00002430  45 20 69 73 20 77 72 69  74 74 65 6e 20 74 68 65  |E is written the|
00002440  20 77 61 79 20 6d 6f 73  74 20 70 72 6f 67 72 61  | way most progra|
00002450  6d 73 20 61 72 65 3b 20  61 20 62 69 67 20 6d 61  |ms are; a big ma|
00002460  69 6e 20 70 72 6f 67 72  61 6d 20 6c 6f 6f 70 20  |in program loop |
00002470  61 74 0d 74 68 65 20 62  65 67 69 6e 6e 69 6e 67  |at.the beginning|
00002480  2c 20 66 6f 6c 6c 6f 77  65 64 20 62 79 20 6c 6f  |, followed by lo|
00002490  61 64 73 20 6f 66 20 70  72 6f 63 65 64 75 72 65  |ads of procedure|
000024a0  73 20 74 68 61 74 20 61  72 65 20 63 61 6c 6c 65  |s that are calle|
000024b0  64 20 75 70 20 66 72 6f  6d 0d 74 68 69 73 20 6c  |d up from.this l|
000024c0  6f 6f 70 2e 20 42 65 63  61 75 73 65 20 6f 66 20  |oop. Because of |
000024d0  74 68 69 73 20 74 68 65  20 70 72 6f 67 72 61 6d  |this the program|
000024e0  20 69 73 20 71 75 69 74  65 20 65 61 73 79 20 74  | is quite easy t|
000024f0  6f 20 66 6f 6c 6c 6f 77  2c 20 77 69 74 68 20 65  |o follow, with e|
00002500  61 63 68 0d 63 6f 6d 6d  61 6e 64 20 62 65 69 6e  |ach.command bein|
00002510  67 20 61 6c 6c 6f 63 61  74 65 64 20 61 20 73 65  |g allocated a se|
00002520  70 61 72 61 74 65 20 73  75 62 72 6f 75 74 69 6e  |parate subroutin|
00002530  65 20 28 73 65 65 20 6c  69 73 74 20 6f 66 20 70  |e (see list of p|
00002540  72 6f 63 65 64 75 72 65  73 29 2e 0d 57 68 65 72  |rocedures)..Wher|
00002550  65 20 73 70 65 65 64 20  69 73 20 69 6d 70 6f 72  |e speed is impor|
00002560  74 61 6e 74 20 28 65 2e  67 2e 20 77 68 65 6e 20  |tant (e.g. when |
00002570  70 72 69 6e 74 69 6e 67  20 61 20 72 65 63 6f 72  |printing a recor|
00002580  64 20 77 68 69 6c 65 20  73 63 61 6e 6e 69 6e 67  |d while scanning|
00002590  29 2c 20 74 68 65 0d 70  72 6f 67 72 61 6d 20 68  |), the.program h|
000025a0  61 73 20 62 65 65 6e 20  63 6f 64 65 64 20 61 63  |as been coded ac|
000025b0  63 6f 72 64 69 6e 67 6c  79 2c 20 75 73 69 6e 67  |cordingly, using|
000025c0  20 69 6e 74 65 67 65 72  20 76 61 72 69 61 62 6c  | integer variabl|
000025d0  65 73 20 65 74 63 2e 2e  0d 0d 54 68 65 20 63 6f  |es etc....The co|
000025e0  64 69 6e 67 20 74 6f 20  70 65 72 66 6f 72 6d 20  |ding to perform |
000025f0  65 61 63 68 20 6f 66 20  74 68 65 20 66 65 61 74  |each of the feat|
00002600  75 72 65 73 20 69 73 20  66 61 69 72 6c 79 20 73  |ures is fairly s|
00002610  74 61 6e 64 61 72 64 2c  20 62 75 74 20 77 69 74  |tandard, but wit|
00002620  68 20 61 0d 66 65 77 20  65 78 63 65 70 74 69 6f  |h a.few exceptio|
00002630  6e 73 3b 20 74 68 65 20  73 61 76 65 20 61 6e 64  |ns; the save and|
00002640  20 6c 6f 61 64 20 66 75  6e 63 74 69 6f 6e 73 20  | load functions |
00002650  64 6f 20 74 68 65 69 72  20 6a 6f 62 20 62 79 20  |do their job by |
00002660  73 61 76 69 6e 67 20 74  68 65 0d 66 69 6c 65 20  |saving the.file |
00002670  61 73 20 6f 6e 65 20 62  69 67 20 62 6c 6f 63 6b  |as one big block|
00002680  20 6f 66 20 6d 65 6d 6f  72 79 20 28 69 2e 65 20  | of memory (i.e |
00002690  75 73 69 6e 67 20 2a 4c  4f 41 44 20 61 6e 64 20  |using *LOAD and |
000026a0  2a 53 41 56 45 29 2c 20  77 68 69 63 68 0d 69 6e  |*SAVE), which.in|
000026b0  69 74 69 61 6c 6c 79 20  70 6f 73 65 73 20 61 20  |itially poses a |
000026c0  70 72 6f 62 6c 65 6d 20  62 65 63 61 75 73 65 20  |problem because |
000026d0  79 6f 75 20 63 61 6e 6e  6f 74 20 73 70 65 63 69  |you cannot speci|
000026e0  66 79 20 61 20 66 69 6c  65 6e 61 6d 65 20 69 6e  |fy a filename in|
000026f0  20 61 0d 76 61 72 69 61  62 6c 65 20 69 6e 20 74  | a.variable in t|
00002700  68 69 73 20 63 61 73 65  2c 20 73 6f 20 61 20 73  |his case, so a s|
00002710  74 72 69 6e 67 20 68 61  64 20 74 6f 20 62 65 20  |tring had to be |
00002720  62 75 69 6c 74 20 75 70  20 69 6e 20 6d 65 6d 6f  |built up in memo|
00002730  72 79 2c 20 61 6e 64 20  74 68 65 6e 0d 70 61 73  |ry, and then.pas|
00002740  73 65 64 20 6f 6e 74 6f  20 74 68 65 20 63 6f 6d  |sed onto the com|
00002750  6d 61 6e 64 20 6c 69 6e  65 20 69 6e 74 65 72 70  |mand line interp|
00002760  72 65 74 65 72 20 28 61  74 20 26 46 46 46 37 29  |reter (at &FFF7)|
00002770  2e 20 41 6c 74 68 6f 75  67 68 20 69 6e 20 42 41  |. Although in BA|
00002780  53 49 43 32 0d 74 68 65  20 63 6f 6d 6d 61 6e 64  |SIC2.the command|
00002790  20 4f 53 43 4c 49 20 63  6f 75 6c 64 20 62 65 20  | OSCLI could be |
000027a0  75 73 65 64 2c 20 74 68  65 20 77 61 79 20 69 74  |used, the way it|
000027b0  20 69 73 20 65 6e 73 75  72 65 73 20 63 6f 6d 70  | is ensures comp|
000027c0  61 74 69 62 69 6c 69 74  79 20 77 69 74 68 0d 42  |atibility with.B|
000027d0  41 53 49 43 31 2e 20 41  6e 6f 74 68 65 72 20 75  |ASIC1. Another u|
000027e0  6e 75 73 75 61 6c 20 70  6f 69 6e 74 20 6f 66 20  |nusual point of |
000027f0  74 68 65 20 70 72 6f 67  72 61 6d 20 69 73 20 74  |the program is t|
00002800  68 65 20 65 78 74 65 6e  73 69 76 65 20 75 73 65  |he extensive use|
00002810  20 6f 66 0d 69 6e 64 69  72 65 63 74 69 6f 6e 20  | of.indirection |
00002820  6f 70 65 72 61 74 6f 72  73 20 74 6f 20 73 74 6f  |operators to sto|
00002830  72 65 20 74 68 65 20 72  65 63 6f 72 64 73 20 64  |re the records d|
00002840  69 72 65 63 74 6c 79 20  69 6e 20 6d 65 6d 6f 72  |irectly in memor|
00002850  79 20 77 68 69 63 68 2c  20 77 68 69 6c 65 0d 76  |y which, while.v|
00002860  65 72 79 20 6c 61 62 6f  72 69 6f 75 73 20 74 6f  |ery laborious to|
00002870  20 70 72 6f 67 72 61 6d  20 69 6e 20 77 68 65 6e  | program in when|
00002880  20 63 6f 6d 70 61 72 65  64 20 74 6f 20 74 68 65  | compared to the|
00002890  20 65 61 73 65 20 6f 66  20 75 73 65 20 6f 66 20  | ease of use of |
000028a0  61 72 72 61 79 73 2c 0d  64 6f 65 73 20 68 61 76  |arrays,.does hav|
000028b0  65 20 69 74 73 20 72 65  6c 65 76 61 6e 74 20 6d  |e its relevant m|
000028c0  65 72 69 74 73 20 74 68  61 74 20 61 72 65 20 65  |erits that are e|
000028d0  78 70 6c 61 69 6e 65 64  20 6c 61 74 65 72 2e 0d  |xplained later..|
000028e0  0d 49 74 20 63 61 6e 20  62 65 20 73 65 65 6e 20  |.It can be seen |
000028f0  74 68 61 74 20 2a 46 58  32 30 30 2c 31 20 61 6e  |that *FX200,1 an|
00002900  64 20 2a 46 58 32 30 30  2c 30 20 61 72 65 20 75  |d *FX200,0 are u|
00002910  73 65 64 20 61 20 6c 6f  74 2c 20 77 68 69 63 68  |sed a lot, which|
00002920  20 65 6e 61 62 6c 65 20  61 6e 64 0d 64 69 73 61  | enable and.disa|
00002930  62 6c 65 20 74 68 65 20  45 53 43 41 50 45 20 6b  |ble the ESCAPE k|
00002940  65 79 2e 20 54 68 65 20  72 65 61 73 6f 6e 20 69  |ey. The reason i|
00002950  73 20 74 68 61 74 20 77  68 69 6c 65 20 74 68 65  |s that while the|
00002960  20 65 73 63 61 70 65 20  6b 65 79 20 77 6f 72 6b  | escape key work|
00002970  73 20 6d 6f 73 74 0d 6f  66 20 74 68 65 20 74 69  |s most.of the ti|
00002980  6d 65 2c 20 65 6e 61 62  6c 69 6e 67 20 79 6f 75  |me, enabling you|
00002990  20 74 6f 20 67 65 74 20  6f 75 74 20 6f 66 20 61  | to get out of a|
000029a0  20 63 6f 6d 6d 61 6e 64  20 74 68 61 74 20 79 6f  | command that yo|
000029b0  75 20 61 63 63 69 64 65  6e 74 6c 79 0d 65 6e 74  |u accidently.ent|
000029c0  65 72 65 64 2c 20 69 74  20 63 6f 75 6c 64 20 62  |ered, it could b|
000029d0  65 20 64 61 6e 67 65 72  6f 75 73 20 74 6f 20 65  |e dangerous to e|
000029e0  73 63 61 70 65 20 77 68  65 6e 2c 20 66 6f 72 20  |scape when, for |
000029f0  65 78 61 6d 70 6c 65 2c  20 64 65 6c 65 74 69 6e  |example, deletin|
00002a00  67 20 61 0d 72 65 63 6f  72 64 20 62 65 63 61 75  |g a.record becau|
00002a10  73 65 20 69 66 20 45 53  43 41 50 45 20 77 61 73  |se if ESCAPE was|
00002a20  20 70 72 65 73 73 65 64  20 77 68 69 6c 65 20 74  | pressed while t|
00002a30  68 65 20 70 72 6f 67 72  61 6d 20 77 61 73 20 73  |he program was s|
00002a40  68 69 66 74 69 6e 67 20  61 6c 6c 0d 74 68 65 20  |hifting all.the |
00002a50  66 6f 6c 6c 6f 77 69 6e  67 20 72 65 63 6f 72 64  |following record|
00002a60  73 20 6f 6e 20 74 6f 70  20 6f 66 20 74 68 65 20  |s on top of the |
00002a70  64 65 6c 65 74 65 64 20  72 65 63 6f 72 64 2c 20  |deleted record, |
00002a80  74 68 65 20 77 68 6f 6c  65 20 66 69 6c 65 20 63  |the whole file c|
00002a90  6f 75 6c 64 0d 62 65 20  63 6f 72 72 75 70 74 65  |ould.be corrupte|
00002aa0  64 2e 20 53 6f 20 74 6f  20 70 72 65 76 65 6e 74  |d. So to prevent|
00002ab0  20 74 68 69 73 20 74 68  65 20 65 73 63 61 70 65  | this the escape|
00002ac0  20 6b 65 79 20 69 73 20  64 69 73 61 62 6c 65 64  | key is disabled|
00002ad0  20 6a 75 73 74 20 62 65  66 6f 72 65 0d 74 68 65  | just before.the|
00002ae0  20 72 6f 75 74 69 6e 65  20 69 73 20 65 6e 74 65  | routine is ente|
00002af0  72 65 64 2c 20 61 6e 64  20 74 68 65 6e 20 65 6e  |red, and then en|
00002b00  61 62 6c 65 64 20 61 66  74 65 72 20 6c 65 61 76  |abled after leav|
00002b10  69 6e 67 20 74 68 65 20  72 6f 75 74 69 6e 65 2e  |ing the routine.|
00002b20  20 54 68 69 73 0d 69 73  20 64 6f 6e 65 20 77 69  | This.is done wi|
00002b30  74 68 20 6d 6f 73 74 20  6f 66 20 74 68 65 20 72  |th most of the r|
00002b40  6f 75 74 69 6e 65 73 2e  0d 0d 54 68 65 20 73 65  |outines...The se|
00002b50  61 72 63 68 20 72 6f 75  74 69 6e 65 20 75 73 65  |arch routine use|
00002b60  64 20 69 6e 20 74 68 65  20 70 72 6f 67 72 61 6d  |d in the program|
00002b70  20 77 6f 72 6b 73 20 6f  6e 20 61 20 74 6f 6b 65  | works on a toke|
00002b80  6e 20 62 61 73 69 73 2c  20 67 69 76 69 6e 67 0d  |n basis, giving.|
00002b90  70 6f 69 6e 74 73 20 66  6f 72 20 65 61 63 68 20  |points for each |
00002ba0  66 69 65 6c 64 20 6f 66  20 61 20 72 65 63 6f 72  |field of a recor|
00002bb0  64 20 74 68 61 74 20 6d  61 74 63 68 65 73 20 77  |d that matches w|
00002bc0  69 74 68 20 74 68 65 20  73 65 61 72 63 68 20 72  |ith the search r|
00002bd0  65 63 6f 72 64 2c 20 61  6e 64 0d 74 68 65 6e 20  |ecord, and.then |
00002be0  70 72 69 6e 74 69 6e 67  20 6f 75 74 20 74 68 65  |printing out the|
00002bf0  20 72 65 63 6f 72 64 20  74 68 61 74 20 67 6f 74  | record that got|
00002c00  20 6d 6f 73 74 20 70 6f  69 6e 74 73 2e 20 49 66  | most points. If|
00002c10  20 74 77 6f 20 72 65 63  6f 72 64 73 20 67 65 74  | two records get|
00002c20  20 74 68 65 0d 73 61 6d  65 20 70 6f 69 6e 74 73  | the.same points|
00002c30  2c 20 74 68 65 20 66 69  72 73 74 20 6f 6e 65 20  |, the first one |
00002c40  65 6e 63 6f 75 6e 74 65  72 65 64 20 69 6e 20 74  |encountered in t|
00002c50  68 65 20 66 69 6c 65 20  69 73 20 6f 75 74 70 75  |he file is outpu|
00002c60  74 2c 20 61 6e 64 20 62  65 63 61 75 73 65 0d 6f  |t, and because.o|
00002c70  66 20 74 68 69 73 20 69  74 20 69 73 20 61 6c 77  |f this it is alw|
00002c80  61 79 73 20 62 65 73 74  20 74 6f 20 70 75 74 20  |ays best to put |
00002c90  61 73 20 6d 75 63 68 20  69 6e 66 6f 72 6d 61 74  |as much informat|
00002ca0  69 6f 6e 20 69 6e 20 74  68 65 20 73 65 61 72 63  |ion in the searc|
00002cb0  68 20 72 65 63 6f 72 64  0d 61 73 20 79 6f 75 20  |h record.as you |
00002cc0  63 61 6e 20 72 65 6d 65  6d 62 65 72 2e 0d 0d 0d  |can remember....|
00002cd0  50 52 4f 43 45 44 55 52  45 53 20 20 20 4c 49 4e  |PROCEDURES   LIN|
00002ce0  45 20 4e 4f 53 20 20 44  45 53 43 52 49 50 54 49  |E NOS  DESCRIPTI|
00002cf0  4f 4e 0d 0d 69 6e 69 74  69 61 6c 69 73 65 20 20  |ON..initialise  |
00002d00  20 20 20 20 33 31 30 20  20 20 20 49 6e 69 74 69  |    310    Initi|
00002d10  61 6c 69 73 65 73 20 76  61 72 69 61 62 6c 65 73  |alises variables|
00002d20  20 65 74 63 2e 2e 0d 63  68 65 63 6b 65 72 72 6f  | etc...checkerro|
00002d30  72 20 20 20 20 20 20 33  37 30 20 20 20 20 41 6e  |r      370    An|
00002d40  61 6c 79 73 65 73 20 65  72 72 6f 72 20 26 20 72  |alyses error & r|
00002d50  65 61 63 74 73 20 61 63  6f 72 64 69 6e 67 6c 79  |eacts acordingly|
00002d60  2e 0d 73 65 74 73 63 72  65 65 6e 20 20 20 20 20  |..setscreen     |
00002d70  20 20 33 39 30 20 20 20  20 53 65 74 73 20 75 70  |  390    Sets up|
00002d80  20 73 63 72 65 65 6e 2e  0d 61 20 20 20 20 20 20  | screen..a      |
00002d90  20 20 20 20 20 20 20 20  20 34 38 30 20 20 20 20  |         480    |
00002da0  50 65 72 66 6f 72 6d 73  20 41 44 44 20 63 6f 6d  |Performs ADD com|
00002db0  6d 61 6e 64 2e 0d 62 20  20 20 20 20 20 20 20 20  |mand..b         |
00002dc0  20 20 20 20 20 20 36 32  30 20 20 20 20 50 65 72  |      620    Per|
00002dd0  66 6f 72 6d 73 20 42 41  43 4b 20 63 6f 6d 6d 61  |forms BACK comma|
00002de0  6e 64 2e 0d 64 20 20 20  20 20 20 20 20 20 20 20  |nd..d           |
00002df0  20 20 20 20 36 39 30 20  20 20 20 50 65 72 66 6f  |    690    Perfo|
00002e00  72 6d 73 20 44 45 4c 45  54 45 20 63 6f 6d 6d 61  |rms DELETE comma|
00002e10  6e 64 2e 0d 65 20 20 20  20 20 20 20 20 20 20 20  |nd..e           |
00002e20  20 20 20 20 38 37 30 20  20 20 20 50 65 72 66 6f  |    870    Perfo|
00002e30  72 6d 73 20 45 44 49 54  20 63 6f 6d 6d 61 6e 64  |rms EDIT command|
00002e40  2e 0d 66 20 20 20 20 20  20 20 20 20 20 20 20 20  |..f             |
00002e50  20 31 31 32 30 20 20 20  20 50 65 72 66 6f 72 6d  | 1120    Perform|
00002e60  73 20 46 4f 52 57 41 52  44 20 63 6f 6d 6d 61 6e  |s FORWARD comman|
00002e70  64 2e 0d 68 20 20 20 20  20 20 20 20 20 20 20 20  |d..h            |
00002e80  20 20 31 31 39 30 20 20  20 20 50 65 72 66 6f 72  |  1190    Perfor|
00002e90  6d 73 20 48 45 4c 50 20  63 6f 6d 6d 61 6e 64 2e  |ms HELP command.|
00002ea0  0d 6b 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.k              |
00002eb0  31 32 32 30 20 20 20 20  50 65 72 66 6f 72 6d 73  |1220    Performs|
00002ec0  20 4b 45 45 50 20 63 6f  6d 6d 61 6e 64 2e 0d 6c  | KEEP command..l|
00002ed0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 31 32  |              12|
00002ee0  39 30 20 20 20 20 50 65  72 66 6f 72 6d 73 20 4c  |90    Performs L|
00002ef0  4f 41 44 20 63 6f 6d 6d  61 6e 64 2e 0d 6e 20 20  |OAD command..n  |
00002f00  20 20 20 20 20 20 20 20  20 20 20 20 31 33 39 30  |            1390|
00002f10  20 20 20 20 50 65 72 66  6f 72 6d 73 20 4e 45 57  |    Performs NEW|
00002f20  20 63 6f 6d 6d 61 6e 64  2e 0d 6f 20 20 20 20 20  | command..o     |
00002f30  20 20 20 20 20 20 20 20  20 31 37 37 30 20 20 20  |         1770   |
00002f40  20 50 65 72 66 6f 72 6d  73 20 2a 4f 53 20 63 6f  | Performs *OS co|
00002f50  6d 6d 61 6e 64 2e 0d 70  20 20 20 20 20 20 20 20  |mmand..p        |
00002f60  20 20 20 20 20 20 31 38  31 30 20 20 20 20 50 65  |      1810    Pe|
00002f70  72 66 6f 72 6d 73 20 50  52 49 4e 54 20 63 6f 6d  |rforms PRINT com|
00002f80  6d 61 6e 64 2e 0d 73 20  20 20 20 20 20 20 20 20  |mand..s         |
00002f90  20 20 20 20 20 31 39 38  30 20 20 20 20 50 65 72  |     1980    Per|
00002fa0  66 6f 72 6d 73 20 53 45  41 52 43 48 20 63 6f 6d  |forms SEARCH com|
00002fb0  6d 61 6e 64 2e 0d 72 20  20 20 20 20 20 20 20 20  |mand..r         |
00002fc0  20 20 20 20 20 32 32 33  30 20 20 20 20 50 65 72  |     2230    Per|
00002fd0  66 6f 72 6d 73 20 52 45  53 45 54 20 63 6f 6d 6d  |forms RESET comm|
00002fe0  61 6e 64 2e 0d 6f 72 20  20 20 20 20 20 20 20 20  |and..or         |
00002ff0  20 20 20 20 32 32 35 30  20 20 20 20 50 65 72 66  |    2250    Perf|
00003000  6f 72 6d 73 20 4f 52 44  45 52 20 63 6f 6d 6d 61  |orms ORDER comma|
00003010  6e 64 2e 0d 74 6f 70 77  20 20 20 20 20 20 20 20  |nd..topw        |
00003020  20 20 20 32 33 39 30 20  20 20 20 53 65 74 73 20  |   2390    Sets |
00003030  74 6f 70 20 74 65 78 74  20 77 69 6e 64 6f 77 2e  |top text window.|
00003040  0d 62 6f 74 77 20 20 20  20 20 20 20 20 20 20 20  |.botw           |
00003050  32 34 31 30 20 20 20 20  53 65 74 73 20 62 6f 74  |2410    Sets bot|
00003060  74 6f 6d 20 74 65 78 74  20 77 69 6e 64 6f 77 2e  |tom text window.|
00003070  0d 6f 70 74 69 6f 6e 73  20 20 20 20 20 20 20 20  |.options        |
00003080  32 34 33 30 20 20 20 20  50 72 69 6e 74 73 20 6f  |2430    Prints o|
00003090  75 74 20 63 6f 6d 6d 61  6e 64 73 20 61 76 61 69  |ut commands avai|
000030a0  6c 61 62 6c 65 20 69 6e  20 74 68 65 20 74 6f 70  |lable in the top|
000030b0  20 74 65 78 74 0d 20 20  20 20 20 20 20 20 20 20  | text.          |
000030c0  20 20 20 20 20 20 20 20  20 20 20 20 20 77 69 6e  |             win|
000030d0  64 6f 77 2e 0d 74 69 74  6c 65 20 20 20 20 20 20  |dow..title      |
000030e0  20 20 20 20 32 34 35 30  20 20 20 20 50 72 69 6e  |    2450    Prin|
000030f0  74 73 20 63 6f 6d 6d 61  6e 64 20 74 68 61 74 20  |ts command that |
00003100  68 61 73 20 6a 75 73 74  20 62 65 65 6e 20 73 65  |has just been se|
00003110  6c 65 63 74 65 64 20 69  6e 20 61 0d 20 20 20 20  |lected in a.    |
00003120  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003130  20 20 20 61 20 27 70 72  65 74 74 79 27 20 62 6c  |   a 'pretty' bl|
00003140  75 65 20 62 6f 78 21 0d  73 70 20 20 20 20 20 20  |ue box!.sp      |
00003150  20 20 20 20 20 20 20 32  34 37 30 20 20 20 20 41  |       2470    A|
00003160  73 6b 73 20 75 73 65 72  20 74 6f 20 70 72 65 73  |sks user to pres|
00003170  73 20 74 68 65 20 73 70  61 63 65 20 62 61 72 20  |s the space bar |
00003180  74 6f 20 63 6f 6e 74 69  6e 75 65 2e 0d 73 75 72  |to continue..sur|
00003190  65 20 20 20 20 20 20 20  20 20 20 20 32 34 39 30  |e           2490|
000031a0  20 20 20 20 41 73 6b 73  20 69 66 20 79 6f 75 20  |    Asks if you |
000031b0  72 65 61 6c 6c 79 20 77  61 6e 74 20 74 6f 20 63  |really want to c|
000031c0  6f 6e 74 69 6e 75 65 2e  20 49 66 20 73 6f 0d 20  |ontinue. If so. |
000031d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000031e0  20 20 20 20 20 27 73 73  27 3d 30 2c 20 6f 74 68  |     'ss'=0, oth|
000031f0  65 72 77 69 73 65 20 27  73 73 27 3d 31 2e 0d 63  |erwise 'ss'=1..c|
00003200  6c 65 61 72 20 20 20 20  20 20 20 20 20 20 32 35  |lear          25|
00003210  32 30 20 20 20 20 57 69  70 65 73 20 66 69 6c 65  |20    Wipes file|
00003220  20 6d 65 6d 6f 72 79 2e  0d 70 72 65 63 6f 72 64  | memory..precord|
00003230  20 20 20 20 20 20 20 20  32 35 37 30 20 20 20 20  |        2570    |
00003240  50 72 69 6e 74 73 20 74  68 65 20 63 75 72 72 65  |Prints the curre|
00003250  6e 74 20 72 65 63 6f 72  64 20 68 65 6c 64 20 69  |nt record held i|
00003260  6e 20 27 72 65 63 6f 72  64 27 2e 0d 70 66 69 65  |n 'record'..pfie|
00003270  6c 64 20 20 20 20 20 20  20 20 20 32 37 33 30 20  |ld         2730 |
00003280  20 20 20 50 72 69 6e 74  73 20 74 68 65 20 66 69  |   Prints the fi|
00003290  65 6c 64 20 74 69 74 6c  65 73 20 6f 66 20 74 68  |eld titles of th|
000032a0  65 20 66 69 6c 65 2e 0d  67 66 6e 61 6d 65 20 20  |e file..gfname  |
000032b0  20 20 20 20 20 20 20 32  38 31 30 20 20 20 20 41  |       2810    A|
000032c0  73 6b 73 20 74 68 65 20  75 73 65 72 20 66 6f 72  |sks the user for|
000032d0  20 61 20 66 69 6c 65 6e  61 6d 65 2e 0d 65 78 69  | a filename..exi|
000032e0  73 74 20 20 20 20 20 20  20 20 20 20 32 38 35 30  |st          2850|
000032f0  20 20 20 20 54 65 6c 6c  73 20 74 68 65 20 75 73  |    Tells the us|
00003300  65 72 20 74 68 61 74 20  61 20 66 69 6c 65 20 61  |er that a file a|
00003310  6c 72 65 61 64 79 20 65  78 69 73 74 73 2e 0d 6e  |lready exists..n|
00003320  72 65 63 6f 72 64 20 20  20 20 20 20 20 20 32 38  |record        28|
00003330  39 30 20 20 20 20 54 65  6c 6c 73 20 74 68 65 20  |90    Tells the |
00003340  75 73 65 72 20 74 68 61  74 20 74 68 65 72 65 20  |user that there |
00003350  61 72 65 20 6e 6f 20 72  65 63 6f 72 64 73 0d 20  |are no records. |
00003360  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003370  20 20 20 20 20 20 63 75  72 72 65 6e 74 6c 79 20  |      currently |
00003380  69 6e 20 74 68 65 20 66  69 6c 65 2e 0d 67 65 74  |in the file..get|
00003390  62 79 74 65 73 28 47 29  20 20 20 20 32 39 31 30  |bytes(G)    2910|
000033a0  20 20 20 20 47 65 74 73  20 74 68 65 20 63 6f 6e  |    Gets the con|
000033b0  74 65 6e 74 73 20 6f 66  20 61 20 74 77 6f 20 62  |tents of a two b|
000033c0  79 74 65 20 6e 75 6d 62  65 72 20 28 47 20 69 73  |yte number (G is|
000033d0  20 74 68 65 0d 20 20 20  20 20 20 20 20 20 20 20  | the.           |
000033e0  20 20 20 20 20 20 20 20  20 20 20 20 66 69 72 73  |            firs|
000033f0  74 20 62 79 74 65 20 6d  69 6e 75 73 20 27 73 74  |t byte minus 'st|
00003400  61 72 74 61 27 29 2c 20  61 6e 64 20 70 6c 61 63  |arta'), and plac|
00003410  65 73 20 74 68 65 20 72  65 73 75 6c 74 0d 20 20  |es the result.  |
00003420  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003430  20 20 20 20 20 69 6e 20  27 48 27 2e 0d 70 75 74  |     in 'H'..put|
00003440  62 79 74 65 73 28 47 29  20 20 20 20 32 39 33 30  |bytes(G)    2930|
00003450  20 20 20 20 50 75 74 73  20 74 68 65 20 76 61 6c  |    Puts the val|
00003460  75 65 20 6f 66 20 27 48  27 20 69 6e 20 74 77 6f  |ue of 'H' in two|
00003470  20 6d 65 6d 6f 72 79 20  62 79 74 65 73 0d 20 20  | memory bytes.  |
00003480  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003490  20 20 20 20 20 73 74 61  72 74 69 6e 67 20 61 74  |     starting at|
000034a0  20 27 47 2b 73 74 61 72  74 61 27 2e 0d 6f 73 63  | 'G+starta'..osc|
000034b0  6c 69 28 41 24 29 20 20  20 20 20 20 32 39 35 30  |li(A$)      2950|
000034c0  20 20 20 20 50 61 73 73  65 73 20 27 41 24 27 20  |    Passes 'A$' |
000034d0  6f 6e 74 6f 20 74 68 65  20 63 6f 6d 6d 61 6e 64  |onto the command|
000034e0  20 6c 69 6e 65 20 69 6e  74 65 72 70 72 65 74 65  | line interprete|
000034f0  72 2e 0d 20 20 20 20 20  20 20 20 20 20 20 20 20  |r..             |
00003500  20 20 20 20 20 20 20 20  20 20 54 68 69 73 20 72  |          This r|
00003510  6f 75 74 69 6e 65 20 77  69 6c 6c 20 77 6f 72 6b  |outine will work|
00003520  20 69 6e 20 42 41 53 49  43 20 31 20 61 6e 64 20  | in BASIC 1 and |
00003530  42 41 53 49 43 20 32 2e  0d 69 6e 70 75 74 72 65  |BASIC 2..inputre|
00003540  63 31 20 20 20 20 20 20  32 39 37 30 20 20 20 20  |c1      2970    |
00003550  49 6e 70 75 74 73 20 61  20 72 65 63 6f 72 64 20  |Inputs a record |
00003560  66 72 6f 6d 20 74 68 65  20 6b 65 79 62 6f 61 72  |from the keyboar|
00003570  64 20 69 6e 74 6f 20 61  20 73 74 72 69 6e 67 2e  |d into a string.|
00003580  0d 0d 49 4d 50 4f 52 54  41 4e 54 20 56 41 52 49  |..IMPORTANT VARI|
00003590  41 42 4c 45 53 20 44 45  53 43 52 49 50 54 49 4f  |ABLES DESCRIPTIO|
000035a0  4e 0d 0d 41 25 2c 42 25  2c 43 25 2c 44 25 2c 45  |N..A%,B%,C%,D%,E|
000035b0  25 2c 46 25 2c 47 25 2c  58 25 2c 59 25 20 20 55  |%,F%,G%,X%,Y%  U|
000035c0  53 45 44 20 49 4e 20 56  41 52 49 4f 55 53 20 4c  |SED IN VARIOUS L|
000035d0  4f 4f 50 53 2e 0d 41 2c  42 2c 43 2c 44 2c 45 2c  |OOPS..A,B,C,D,E,|
000035e0  46 2c 47 2c 48 2c 49 2c  4a 2c 4b 20 20 20 20 20  |F,G,H,I,J,K     |
000035f0  20 20 55 53 45 44 20 49  4e 20 56 41 52 49 4f 55  |  USED IN VARIOU|
00003600  53 20 4c 4f 4f 50 53 2e  0d 66 6c 61 67 20 20 20  |S LOOPS..flag   |
00003610  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003620  20 20 20 20 20 55 73 65  64 20 74 6f 20 66 6c 61  |     Used to fla|
00003630  67 20 63 65 72 74 61 69  6e 20 65 76 65 6e 74 73  |g certain events|
00003640  2e 0d 66 6c 61 67 32 20  20 20 20 20 20 20 20 20  |..flag2         |
00003650  20 20 20 20 20 20 20 20  20 20 20 20 20 20 55 73  |              Us|
00003660  65 64 20 74 6f 20 66 6c  61 67 20 63 65 72 74 61  |ed to flag certa|
00003670  69 6e 20 65 76 65 6e 74  73 2e 0d 72 65 63 6f 72  |in events..recor|
00003680  64 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |d               |
00003690  20 20 20 20 20 20 20 48  6f 6c 64 73 20 72 65 63  |       Holds rec|
000036a0  6f 72 64 20 6e 75 6d 62  65 72 20 74 68 61 74 20  |ord number that |
000036b0  69 73 20 63 75 72 72 65  6e 74 6c 79 20 62 65 69  |is currently bei|
000036c0  6e 67 0d 20 20 20 20 20  20 20 20 20 20 20 20 20  |ng.             |
000036d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 64  |               d|
000036e0  69 73 70 6c 61 79 65 64  2e 0d 73 73 20 20 20 20  |isplayed..ss    |
000036f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003700  20 20 20 20 20 20 41 20  66 6c 61 67 20 66 6f 72  |      A flag for|
00003710  20 50 52 4f 43 45 44 55  52 45 20 27 73 75 72 65  | PROCEDURE 'sure|
00003720  27 0d 73 74 61 72 74 61  20 20 20 20 20 20 20 20  |'.starta        |
00003730  20 20 20 20 20 20 20 20  20 20 20 20 20 20 50 6f  |              Po|
00003740  69 6e 74 73 20 61 74 20  73 74 61 72 74 20 6f 66  |ints at start of|
00003750  20 6d 65 6d 6f 72 79 20  66 6f 72 20 74 68 65 20  | memory for the |
00003760  66 69 6c 65 2e 0d 41 24  2c 42 24 2c 43 24 20 20  |file..A$,B$,C$  |
00003770  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003780  20 20 55 73 65 64 20 66  6f 72 20 76 61 72 69 6f  |  Used for vario|
00003790  75 73 20 73 74 72 69 6e  67 20 68 61 6e 64 6c 69  |us string handli|
000037a0  6e 67 20 72 6f 75 74 69  6e 65 73 2e 0d 66 69 6c  |ng routines..fil|
000037b0  65 24 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |e$              |
000037c0  20 20 20 20 20 20 20 20  20 48 6f 6c 64 73 20 6c  |         Holds l|
000037d0  61 73 74 20 66 69 6c 65  6e 61 6d 65 20 65 6e 74  |ast filename ent|
000037e0  65 72 65 64 2e 0d 66 24  28 31 36 29 2c 6c 65 28  |ered..f$(16),le(|
000037f0  31 36 29 2c 6c 65 6e 28  31 36 29 20 20 20 20 20  |16),len(16)     |
00003800  20 20 55 73 65 64 20 74  6f 20 68 6f 6c 64 20 61  |  Used to hold a|
00003810  20 72 65 63 6f 72 64 20  61 73 20 61 20 73 74 72  | record as a str|
00003820  69 6e 67 2e 0d 0d 46 49  4c 45 20 46 4f 52 4d 41  |ing...FILE FORMA|
00003830  54 20 3a 0d 0d 54 68 65  20 72 65 63 6f 72 64 73  |T :..The records|
00003840  2c 20 66 69 65 6c 64 20  74 69 74 6c 65 73 20 61  |, field titles a|
00003850  6e 64 20 66 69 65 6c 64  20 6c 65 6e 67 74 68 73  |nd field lengths|
00003860  20 61 72 65 20 61 6c 6c  20 6b 65 70 74 20 69 6e  | are all kept in|
00003870  20 6d 65 6d 6f 72 79 20  75 70 0d 61 62 6f 76 65  | memory up.above|
00003880  20 74 68 65 20 42 41 53  49 43 20 70 72 6f 67 72  | the BASIC progr|
00003890  61 6d 2c 20 61 6e 64 20  61 72 65 20 64 75 6d 70  |am, and are dump|
000038a0  65 64 20 64 69 72 65 63  74 6c 79 20 74 68 65 72  |ed directly ther|
000038b0  65 20 75 73 69 6e 67 20  69 6e 64 69 72 65 63 74  |e using indirect|
000038c0  69 6f 6e 0d 6f 70 65 72  61 74 6f 72 73 2e 20 54  |ion.operators. T|
000038d0  68 65 20 72 65 61 73 6f  6e 20 66 6f 72 20 74 68  |he reason for th|
000038e0  69 73 20 69 73 20 6d 61  69 6e 6c 79 20 66 6f 72  |is is mainly for|
000038f0  20 6d 65 6d 6f 72 79 20  73 61 76 69 6e 67 20 62  | memory saving b|
00003900  65 63 61 75 73 65 0d 61  6c 74 68 6f 75 67 68 20  |ecause.although |
00003910  73 74 72 69 6e 67 20 61  72 72 61 79 73 20 61 72  |string arrays ar|
00003920  65 20 76 65 72 79 20 6e  69 63 65 20 61 6e 64 20  |e very nice and |
00003930  65 61 73 79 20 74 6f 20  75 73 65 2c 20 74 68 65  |easy to use, the|
00003940  79 20 74 65 6e 64 20 74  6f 20 74 61 6b 65 20 75  |y tend to take u|
00003950  70 0d 61 20 6c 6f 74 20  6f 66 20 6d 65 6d 6f 72  |p.a lot of memor|
00003960  79 2c 20 77 68 69 63 68  20 69 73 20 76 65 72 79  |y, which is very|
00003970  20 69 6d 70 6f 72 74 61  6e 74 20 77 68 65 6e 20  | important when |
00003980  61 6c 6c 20 74 68 65 20  72 65 63 6f 72 64 73 20  |all the records |
00003990  61 72 65 20 69 6e 0d 6d  65 6d 6f 72 79 20 61 74  |are in.memory at|
000039a0  20 6f 6e 63 65 2e 0d 0d  54 68 65 20 61 63 74 75  | once...The actu|
000039b0  61 6c 20 63 6f 6e 74 65  6e 74 73 20 6f 66 20 74  |al contents of t|
000039c0  68 65 20 66 69 6c 65 20  73 74 61 72 74 20 61 74  |he file start at|
000039d0  20 74 68 65 20 6d 65 6d  6f 72 79 20 6c 6f 63 61  | the memory loca|
000039e0  74 69 6f 6e 20 73 74 6f  72 65 64 20 69 6e 0d 27  |tion stored in.'|
000039f0  73 74 61 72 74 61 27 2c  20 77 68 65 72 65 20 74  |starta', where t|
00003a00  68 65 20 70 61 73 73 77  6f 72 64 2c 20 66 69 65  |he password, fie|
00003a10  6c 64 20 74 69 74 6c 65  73 2c 20 65 74 63 2e 20  |ld titles, etc. |
00003a20  61 72 65 20 6b 65 70 74  2e 20 41 66 74 65 72 20  |are kept. After |
00003a30  74 68 69 73 0d 63 6f 6d  65 73 20 74 68 65 20 72  |this.comes the r|
00003a40  65 63 6f 72 64 73 20 74  68 65 6d 73 65 6c 76 65  |ecords themselve|
00003a50  73 20 77 68 69 63 68 20  66 6f 6c 6c 6f 77 20 6f  |s which follow o|
00003a60  6e 20 6f 6e 65 20 61 66  74 65 72 20 74 68 65 20  |n one after the |
00003a70  6f 74 68 65 72 2e 0d 0d  4d 45 4d 4f 52 59 20 55  |other...MEMORY U|
00003a80  53 41 47 45 20 3a 0d 0d  44 41 54 41 42 41 53 45  |SAGE :..DATABASE|
00003a90  20 69 73 20 61 20 31 30  6b 20 42 41 53 49 43 20  | is a 10k BASIC |
00003aa0  70 72 6f 67 72 61 6d 20  77 68 69 63 68 20 63 61  |program which ca|
00003ab0  6e 20 62 65 20 72 75 6e  20 61 74 20 61 6e 79 20  |n be run at any |
00003ac0  50 41 47 45 20 61 64 64  72 65 73 73 20 6c 65 73  |PAGE address les|
00003ad0  73 0d 74 68 61 6e 20 6f  72 20 65 71 75 61 6c 20  |s.than or equal |
00003ae0  74 6f 20 26 31 39 30 30  2e 20 54 68 65 20 64 61  |to &1900. The da|
00003af0  74 61 20 66 69 6c 65 20  72 65 73 69 64 65 73 20  |ta file resides |
00003b00  61 74 20 26 34 35 30 30  2c 20 77 68 69 63 68 20  |at &4500, which |
00003b10  69 73 20 77 68 61 74 20  74 68 65 0d 70 72 6f 67  |is what the.prog|
00003b20  72 61 6d 20 73 65 74 73  20 48 49 4d 45 4d 20 74  |ram sets HIMEM t|
00003b30  6f 2c 20 73 6f 20 61 73  20 74 6f 20 70 72 65 76  |o, so as to prev|
00003b40  65 6e 74 20 42 41 53 49  43 20 72 75 6e 6e 69 6e  |ent BASIC runnin|
00003b50  67 20 69 6e 74 6f 20 74  68 65 20 64 61 74 61 20  |g into the data |
00003b60  66 69 6c 65 2e 0d 0d 54  68 65 20 54 4f 50 20 6f  |file...The TOP o|
00003b70  66 20 74 68 65 20 70 72  6f 67 72 61 6d 20 69 73  |f the program is|
00003b80  20 61 74 20 61 62 6f 75  74 20 26 34 30 30 30 2c  | at about &4000,|
00003b90  20 77 68 69 63 68 20 6c  65 61 76 65 73 20 28 48  | which leaves (H|
00003ba0  49 4d 45 4d 2d 54 4f 50  29 3d 31 6b 0d 62 79 74  |IMEM-TOP)=1k.byt|
00003bb0  65 73 20 66 6f 72 20 76  61 72 69 61 62 6c 65 20  |es for variable |
00003bc0  73 74 6f 72 61 67 65 2e  20 54 68 65 20 74 6f 70  |storage. The top|
00003bd0  20 6f 66 20 75 73 65 72  20 6d 65 6d 6f 72 79 20  | of user memory |
00003be0  69 73 20 26 37 43 30 30  2c 20 73 6f 20 74 68 69  |is &7C00, so thi|
00003bf0  73 0d 6c 65 61 76 65 73  20 28 26 37 43 30 30 2d  |s.leaves (&7C00-|
00003c00  26 34 35 30 30 29 3d 31  34 6b 20 62 79 74 65 73  |&4500)=14k bytes|
00003c10  20 6f 66 20 6d 65 6d 6f  72 79 20 66 72 65 65 20  | of memory free |
00003c20  66 6f 72 20 74 68 65 20  64 61 74 61 20 66 69 6c  |for the data fil|
00003c30  65 2c 20 77 68 69 63 68  0d 6d 65 61 6e 73 20 74  |e, which.means t|
00003c40  68 61 74 20 74 79 70 69  63 61 6c 6c 79 20 61 62  |hat typically ab|
00003c50  6f 75 74 20 32 30 30 20  72 65 63 6f 72 64 73 20  |out 200 records |
00003c60  6f 66 20 35 20 66 69 65  6c 64 73 20 6f 66 20 31  |of 5 fields of 1|
00003c70  30 20 63 68 61 72 61 63  74 65 72 73 20 70 65 72  |0 characters per|
00003c80  0d 66 69 65 6c 64 20 63  61 6e 20 62 65 20 65 6e  |.field can be en|
00003c90  74 65 72 65 64 2c 20 77  68 69 63 68 20 69 73 20  |tered, which is |
00003ca0  71 75 69 74 65 20 61 20  75 73 65 66 75 6c 20 73  |quite a useful s|
00003cb0  69 7a 65 2e 0d 0d 4d 45  4d 4f 52 59 20 55 53 41  |ize...MEMORY USA|
00003cc0  47 45 20 53 55 4d 4d 41  52 59 20 3a 0d 0d 20 20  |GE SUMMARY :..  |
00003cd0  20 20 2e 20 20 20 20 20  20 20 20 20 20 20 20 20  |  .             |
00003ce0  20 20 20 20 20 20 20 2e  0d 20 20 20 20 2e 20 20  |       ..    .  |
00003cf0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003d00  20 20 2e 0d 20 20 20 20  2e 20 20 20 20 20 20 4d  |  ..    .      M|
00003d10  4f 44 45 20 37 20 20 20  20 20 20 20 20 2e 0d 20  |ODE 7        .. |
00003d20  20 20 20 2e 20 20 20 20  20 20 20 20 20 20 20 20  |   .            |
00003d30  20 20 20 20 20 20 20 20  2e 0d 20 20 20 20 5f 5f  |        ..    __|
00003d40  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
00003d50  5f 5f 5f 5f 20 26 37 43  30 30 0d 20 20 20 20 2e  |____ &7C00.    .|
00003d60  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003d70  20 20 20 20 2e 0d 31 34  6b 20 2e 20 20 20 20 20  |    ..14k .     |
00003d80  44 41 54 41 20 46 49 4c  45 20 20 20 20 20 20 2e  |DATA FILE      .|
00003d90  0d 20 20 20 20 2e 20 20  20 20 20 20 20 20 20 20  |.    .          |
00003da0  20 20 20 20 20 20 20 20  20 20 2e 0d 20 20 20 20  |          ..    |
00003db0  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
00003dc0  5f 5f 5f 5f 5f 5f 20 48  49 4d 45 4d 20 3d 20 26  |______ HIMEM = &|
00003dd0  34 35 30 30 0d 20 20 20  20 2e 20 20 20 20 20 20  |4500.    .      |
00003de0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 2e 0d  |              ..|
00003df0  20 31 6b 20 2e 20 20 56  41 52 49 41 42 4c 45 20  | 1k .  VARIABLE |
00003e00  53 54 4f 52 41 47 45 20  20 2e 0d 20 20 20 20 2e  |STORAGE  ..    .|
00003e10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003e20  20 20 20 20 2e 0d 20 20  20 20 5f 5f 5f 5f 5f 5f  |    ..    ______|
00003e30  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
00003e40  20 54 4f 50 20 3d 20 26  34 30 30 30 0d 20 20 20  | TOP = &4000.   |
00003e50  20 2e 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00003e60  20 20 20 20 20 20 2e 0d  31 30 6b 20 2e 20 20 20  |      ..10k .   |
00003e70  42 41 53 49 43 20 50 52  4f 47 52 41 4d 20 20 20  |BASIC PROGRAM   |
00003e80  20 2e 0d 20 20 20 20 2e  20 20 20 20 20 20 20 20  | ..    .        |
00003e90  20 20 20 20 20 20 20 20  20 20 20 20 2e 0d 20 20  |            ..  |
00003ea0  20 20 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |  ______________|
00003eb0  5f 5f 5f 5f 5f 5f 5f 5f  20 50 41 47 45 20 3d 20  |________ PAGE = |
00003ec0  26 31 39 30 30 0d 20 20  20 20 2e 20 20 20 20 20  |&1900.    .     |
00003ed0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 2e  |               .|
00003ee0  0d 20 20 20 20 2e 20 20  20 20 20 20 20 20 20 20  |.    .          |
00003ef0  20 20 20 20 20 20 20 20  20 20 2e 0d 20 0d 20 0d  |          .. . .|
00003f00  54 41 50 45 20 55 53 45  52 53 20 3a 0d 0d 44 41  |TAPE USERS :..DA|
00003f10  54 41 42 41 53 45 20 69  73 20 71 75 69 74 65 20  |TABASE is quite |
00003f20  73 75 69 74 65 64 20 74  6f 20 74 61 70 65 20 75  |suited to tape u|
00003f30  73 65 72 73 20 64 75 65  20 74 6f 20 69 74 20 6b  |sers due to it k|
00003f40  65 65 70 69 6e 67 20 61  6c 6c 20 74 68 65 20 72  |eeping all the r|
00003f50  65 63 6f 72 64 73 0d 69  6e 20 6d 65 6d 6f 72 79  |ecords.in memory|
00003f60  20 61 74 20 6f 6e 63 65  2c 20 61 6e 64 20 73 6f  | at once, and so|
00003f70  20 74 68 65 79 20 6f 6e  6c 79 20 68 61 76 65 20  | they only have |
00003f80  74 6f 20 62 65 20 6c 6f  61 64 65 64 20 6f 6e 63  |to be loaded onc|
00003f90  65 2c 20 61 66 74 65 72  77 68 69 63 68 20 61 6c  |e, afterwhich al|
00003fa0  6c 0d 70 72 6f 63 65 73  73 69 6e 67 20 63 61 6e  |l.processing can|
00003fb0  20 74 61 6b 65 20 70 6c  61 63 65 20 69 6e 20 63  | take place in c|
00003fc0  6f 6d 70 75 74 65 72 20  6d 65 6d 6f 72 79 2e 20  |omputer memory. |
00003fd0  42 79 20 73 61 76 69 6e  67 20 61 6e 64 20 6c 6f  |By saving and lo|
00003fe0  61 64 69 6e 67 20 74 68  65 0d 64 61 74 61 20 75  |ading the.data u|
00003ff0  73 69 6e 67 20 2a 53 41  56 45 20 61 6e 64 20 2a  |sing *SAVE and *|
00004000  4c 4f 41 44 20 61 6c 73  6f 20 6d 65 61 6e 73 20  |LOAD also means |
00004010  74 68 61 74 20 74 68 65  20 64 61 74 61 20 63 61  |that the data ca|
00004020  6e 20 62 65 20 73 61 76  65 64 2f 20 6c 6f 61 64  |n be saved/ load|
00004030  65 64 0d 6d 75 63 68 20  6d 6f 72 65 20 71 75 69  |ed.much more qui|
00004040  63 6b 6c 79 20 74 68 61  6e 20 69 66 20 42 41 53  |ckly than if BAS|
00004050  49 43 27 73 20 46 49 4c  45 20 63 6f 6d 6d 6d 61  |IC's FILE commma|
00004060  6e 64 73 20 28 73 75 63  68 20 61 73 20 50 52 49  |nds (such as PRI|
00004070  4e 54 23 2c 20 50 54 52  23 0d 65 74 63 29 20 77  |NT#, PTR#.etc) w|
00004080  65 72 65 20 75 73 65 64  2e 0d 0d 45 46 46 49 43  |ere used...EFFIC|
00004090  49 45 4e 54 20 55 53 45  20 4f 46 20 44 41 54 41  |IENT USE OF DATA|
000040a0  42 41 53 45 20 3a 0d 0d  57 68 65 6e 20 75 73 69  |BASE :..When usi|
000040b0  6e 67 20 44 41 54 41 42  41 53 45 20 74 68 65 72  |ng DATABASE ther|
000040c0  65 20 61 72 65 20 61 20  66 65 77 20 6c 69 74 74  |e are a few litt|
000040d0  6c 65 20 74 69 70 73 20  74 68 61 74 20 63 61 6e  |le tips that can|
000040e0  20 6d 61 6b 65 20 69 74  20 65 61 73 69 65 72 0d  | make it easier.|
000040f0  61 6e 64 20 6d 6f 72 65  20 65 66 66 69 63 69 65  |and more efficie|
00004100  6e 74 20 74 6f 20 75 73  65 2e 0d 0d 57 68 65 6e  |nt to use...When|
00004110  20 64 65 66 69 6e 69 6e  67 20 61 20 4e 45 57 20  | defining a NEW |
00004120  72 65 63 6f 72 64 2c 20  74 68 69 6e 6b 20 63 61  |record, think ca|
00004130  72 65 66 75 6c 6c 79 20  61 62 6f 75 74 20 68 6f  |refully about ho|
00004140  77 20 74 6f 20 64 65 66  69 6e 65 20 69 74 20 62  |w to define it b|
00004150  65 63 61 75 73 65 0d 6f  6e 63 65 20 73 65 74 20  |ecause.once set |
00004160  6f 75 74 2c 20 69 74 20  63 61 6e 6e 6f 74 20 62  |out, it cannot b|
00004170  65 20 63 68 61 6e 67 65  64 20 77 68 69 63 68 20  |e changed which |
00004180  6d 65 61 6e 73 20 74 68  61 74 20 69 66 20 79 6f  |means that if yo|
00004190  75 20 68 61 76 65 20 65  6e 74 65 72 65 64 0d 73  |u have entered.s|
000041a0  61 79 20 31 30 30 20 72  65 63 6f 72 64 73 2c 20  |ay 100 records, |
000041b0  61 6e 64 20 74 68 65 6e  20 66 69 6e 64 20 6f 75  |and then find ou|
000041c0  74 20 74 68 61 74 20 79  6f 75 20 6e 65 65 64 20  |t that you need |
000041d0  61 6e 6f 74 68 65 72 20  66 69 65 6c 64 20 66 6f  |another field fo|
000041e0  72 20 63 65 72 74 61 69  6e 0d 65 6e 74 72 69 65  |r certain.entrie|
000041f0  73 2c 20 79 6f 75 20 77  69 6c 6c 20 68 61 76 65  |s, you will have|
00004200  20 74 6f 20 74 79 70 65  20 74 68 65 20 77 68 6f  | to type the who|
00004210  6c 65 20 66 69 6c 65 20  69 6e 20 61 67 61 69 6e  |le file in again|
00004220  21 20 42 65 63 61 75 73  65 20 6f 66 20 74 68 69  |! Because of thi|
00004230  73 2c 0d 69 74 20 69 73  20 61 6c 73 6f 20 61 20  |s,.it is also a |
00004240  67 6f 6f 64 20 69 64 65  61 20 74 6f 20 68 61 76  |good idea to hav|
00004250  65 20 61 20 66 69 65 6c  64 20 63 61 6c 6c 65 64  |e a field called|
00004260  20 27 41 4e 59 54 48 49  4e 47 20 45 4c 53 45 27  | 'ANYTHING ELSE'|
00004270  20 6f 72 0d 27 4d 49 53  43 45 4c 4c 41 4e 45 4f  | or.'MISCELLANEO|
00004280  55 53 27 2c 20 66 6f 72  20 72 65 63 6f 72 64 73  |US', for records|
00004290  20 74 68 61 74 20 6d 61  79 20 68 61 76 65 20 75  | that may have u|
000042a0  6e 75 73 75 61 6c 20 65  6e 74 72 69 65 73 2e 0d  |nusual entries..|
000042b0  0d 57 68 65 6e 20 65 6e  74 65 72 69 6e 67 20 79  |.When entering y|
000042c0  6f 75 72 20 66 69 65 6c  64 20 74 69 74 6c 65 73  |our field titles|
000042d0  2c 20 79 6f 75 20 63 61  6e 20 73 74 69 6c 6c 20  |, you can still |
000042e0  75 73 65 20 74 68 65 20  66 75 6e 63 74 69 6f 6e  |use the function|
000042f0  20 6b 65 79 73 20 74 6f  0d 67 65 74 20 4d 4f 44  | keys to.get MOD|
00004300  45 20 37 20 63 6f 6c 6f  75 72 65 64 20 63 68 61  |E 7 coloured cha|
00004310  72 61 63 74 65 72 73 2c  20 77 68 69 63 68 20 65  |racters, which e|
00004320  6e 61 62 6c 65 73 20 79  6f 75 20 74 6f 20 73 65  |nables you to se|
00004330  74 20 75 70 20 61 20 66  69 6c 65 20 74 68 61 74  |t up a file that|
00004340  0d 73 74 61 6e 64 73 20  6f 75 74 20 77 65 6c 6c  |.stands out well|
00004350  2c 20 6d 61 6b 69 6e 67  20 69 74 20 65 61 73 69  |, making it easi|
00004360  65 72 20 61 6e 64 20 6d  6f 72 65 20 63 6f 6c 6f  |er and more colo|
00004370  75 72 66 75 6c 20 74 6f  20 75 73 65 20 28 61 6c  |urful to use (al|
00004380  74 68 6f 75 67 68 20 79  6f 75 0d 6d 61 79 20 67  |though you.may g|
00004390  65 74 20 66 75 6e 6e 79  20 6e 6f 69 73 65 73 20  |et funny noises |
000043a0  63 6f 6d 69 6e 67 20 66  72 6f 6d 20 79 6f 75 72  |coming from your|
000043b0  20 70 72 69 6e 74 65 72  20 77 68 65 6e 20 70 72  | printer when pr|
000043c0  69 6e 74 69 6e 67 20 61  20 72 65 63 6f 72 64 21  |inting a record!|
000043d0  29 2e 0d 0d 49 66 20 79  6f 75 20 68 61 76 65 20  |)...If you have |
000043e0  6e 6f 20 6e 65 65 64 20  66 6f 72 20 73 65 63 75  |no need for secu|
000043f0  72 69 74 79 20 70 72 65  63 61 75 74 69 6f 6e 73  |rity precautions|
00004400  2c 20 75 73 65 20 74 68  65 20 70 61 73 73 77 6f  |, use the passwo|
00004410  72 64 20 27 44 41 54 41  42 41 53 45 27 0d 66 6f  |rd 'DATABASE'.fo|
00004420  72 20 79 6f 75 72 20 66  69 6c 65 2c 20 61 73 20  |r your file, as |
00004430  74 68 69 73 20 69 73 20  73 75 67 67 65 73 74 65  |this is suggeste|
00004440  64 20 62 79 20 74 68 65  20 70 72 6f 67 72 61 6d  |d by the program|
00004450  20 77 68 69 63 68 20 6d  61 6b 65 73 20 69 74 0d  | which makes it.|
00004460  69 6d 70 6f 73 73 69 62  6c 65 20 66 6f 72 20 79  |impossible for y|
00004470  6f 75 20 74 6f 20 66 6f  72 67 65 74 21 0d 0d 41  |ou to forget!..A|
00004480  73 20 61 20 66 69 6e 61  6c 6c 79 20 6e 6f 74 65  |s a finally note|
00004490  2c 20 41 4c 57 41 59 53  20 4b 45 45 50 20 43 4f  |, ALWAYS KEEP CO|
000044a0  50 49 45 53 20 4f 46 20  59 4f 55 52 20 44 41 54  |PIES OF YOUR DAT|
000044b0  41 20 46 49 4c 45 53 2c  20 62 65 63 61 75 73 65  |A FILES, because|
000044c0  20 69 66 20 79 6f 75 0d  64 6f 6e 27 74 20 79 6f  | if you.don't yo|
000044d0  75 27 6c 6c 20 68 61 76  65 20 74 6f 20 6c 65 61  |u'll have to lea|
000044e0  72 6e 20 74 68 65 20 68  61 72 64 20 77 61 79 2c  |rn the hard way,|
000044f0  20 73 6f 20 62 65 20 77  61 72 6e 65 64 21 0d 0d  | so be warned!..|
00004500  52 2e 53 2e 41 4e 44 45  52 53 4f 4e 2e 20 4a 41  |R.S.ANDERSON. JA|
00004510  4e 20 31 39 38 37 2e 20  0d                       |N 1987. .|
00004519