DATA.DOC, 11/30/86 This program grew out of a program I wrote for Steve Stolman who was looking for help on a project he was asked to do for the "Y". It is a very simple database management program which consists of the following files. DATAxxx.BAS, the source code of the MBASIC program *.DAT, the databases DATA.DOC, this file DATAxxx.COM, the compiled, executable Z80 version of the program (xxx is the version number, which is 206 at this writing) To run it, type A>DATAxxx or A>MBASIC DATAxxx The *.DAT files should be on the logged drive. A .DAT file's first record contains four fields; an id string, a number indicating the number of records in the file, another number indicating the number of fields per record and finally, an encrypted password. The program assigns a newly created database the password PASSWORD. This may later be changed by the user. This password mechanism was added to prevent unwanted updating. The second record holds descriptions for each "field" in the following "data" records. The remaining records hold the data, or messaages or whatever. The program displays a menu from which the user selects the function desired. It is capable of adding, changing, sorting, deleting and listing up to about 100 records. When not used remotely, records may be printed if a printer is attached. If this .DOC file is available, the H elp command will list its contents, page by page. Deletion is handled internally by replacing the first field of the record to be deleted by an asterisk ("*"). These records are bypassed in subsequent print requests and actually get deleted when the user selects the Q uit or SW itch option. This option puts the records manipulated in internal arrays back into the .DAT file. Sorting is handled by a modified bubble method, slowly but surely. The more records in the file, the longer the wait. Lee R. Bradley Mouse House Software 24 East Cedar Street Newington, CT 06111 (203) 665-1100 (RCP/M)