%OP%JUY %OP%PL60 %OP%HM0 %OP%FM0 %OP%BM0 %OP%LM5 %CO:A,74,74% %C%%H2%DATAFILES.DOC %JL%The "datafiles" Basic program provides an easy way of creating and using %JR%any number of data files. The whole of the file can be viewed in Basic %JL%or a selection can be seen simply by providing a word, or a short string, to extract only those entries which are required. %JR%Of course the whole file can be seen in Pipedream where it can be sorted %JL%and amended. If tidiness is an essential requirement then additions to %JR%the file should be made in Pipedream and not from Basic. Just remember %JL%that tidiness usually means a lot of spaces, thus increasing search time. %JL%The first question asks for the name of the datafile. If this exists %JR%then it will be activated. If not, then one will be created - in :RAM.1 (but this could be changed in the listing if another RAM is preferred) %JL%You are then asked if you wish to put data in or you wish to take data %JR%out. If \data out' then you will be asked if you want to see All of the %JL%file or make a Selection. If the latter, simply enter a string of sufficient characters to identify the entries you want. %JR%To demonstrate, - run the program for the POP datafile (which you should %JL%load into :RAM.1). Select O (for out) and then A (for all) and this %JR%short extract from my own datafile will be seen, seven lines each time %JL%you press a key. Now RUN again, press O, then S, and then one of the %JR%names you saw the first time, or try YOU or 8B. Note, it is advisable %JL%to use all upper or all lower case in the files (except where use of the "minor" case is useful in that it will not be "called". %JL%Additions to the file are simply typed and ENTERed. An extra push on this key will close the entries. %JR%Note; it is not necessary to specify the number of files or file entries %JL%in any way, and the only limit to the number of data files is the space %JR%in your RAM. You could have BALLET, OPERA, ADDRESS, TELNOS, XMAS, %JL%BTHDAYS, etc, etc. I find this better than only one file which takes too long to access. Hope you like it. Jack Lawrie 15 Sycamore Grove Southam Leamington Spa CV33 0EY %CO:B,12,60%%CO:C,12,48%%CO:D,12,36%%CO:E,12,24%%CO:F,12,12%