80-Bus News


September–October 1983 · Volume 2 · Issue 5

Page 65 of 67

Another aside, I’m writing these little routines straight off the top of my head, so they are untested and there are liable to be bugs or syntax errors, so, for any mistakes, you have my apologies, and if you care to write a complete database handler (without mistakes) from these routines we may well publish it. Anyway the sequential file alphabetical update:

Now a number of different ways of doing this is possible. This routine uses two loops, but it is entirely possible to make the routine smaller using one loop and a flag, or flag out the J$ <= I$ test after the insertion has occurred. There are lots of ways of doing this, it just depends on what grabs you at the time. The nett result is a new file FRED.NDX with the new I$ inserted at the appropriate place.

The final aside for this time, I’ve just phoned Paul and he says he wants this stuff by tomorrow lunch time (otherwise he won’t pay for lunch), and as it’s five past midnight I’l have to draw the line here:

The line –––>

Page 65 of 67