| |
| | R. T. Russell: BBC BASIC (86) Manual (Site not responding. Last check: 2007-11-01) |
 | | Since most of the records will be smaller than this, we are going to waste quite a lot of space in our random access file, but this is the penalty we pay for convenience and comparative simplicity. |
 | | To start with, let's call the first record on the file 'record zero', the second record 'record 1', the third record 'record 2', etc. The first byte of 'record zero' is at byte zero on the file. |
 | | What we need is to be able to call the first record 'record 1', etc. We could do this without altering the function which calculates the start position of each record, but we would waste the space allocated to 'record 0' since we would never use it. |
| www.cix.co.uk /~rrussell/products/bbcbasic/manual/bbcfile3.html (2485 words) |
|