home *** CD-ROM | disk | FTP | other *** search
/ Atari Interface 1992 March / Atari_Interface_March_1992_side_B.atr / sort.arc / SORT.DOC < prev   
Text File  |  1988-09-01  |  2KB  |  1 lines

  1.                SORT.BXE DOCUMENTATION¢¢Alphabetical/numerical sort of 1 to 250 items consisting of 1 to 38 characters¢each.¢¢Before you "RUN" the program, list line 100 and set the default drive to the¢drive most used (not required, but an added convenience)¢¢When the program is running, the break key is disabled. This is to prevent¢destroying a file by inadverently hitting the break key.¢¢The program works by creating a data file "SORT.DTA" either from the keyboard¢or another data file. The data will be sorted without regard to upper or lower¢case and with the numbers before or after the letters.¢¢How it works: Each item is put into a string as it is entered. It is then¢copied into another string with all letters converted to upper case. If you¢choose to sort up with numbers after letters or to sort down with numbers¢before letters each number is converted to its inverse equivalent as it is¢copied. This second string is added to the first string. The actual sorting is¢done using the copied string and the printing is done using the original¢string.¢¢   The first display is the main menu consisting of 6 selections.¢¢ 1. Sort a list. - Gives you the choice of sorting up or down, printing numbers¢before or after letters, creating a new data file or adding to an existing data¢file. (If you only want to re-sort an existing file, use the add feature and¢then press return when prompted for an entry)¢¢ 2. Print a list. - Print an existing data file to the screen or to a printer.¢The screen display is in groups of 22 lines and the printer list is 55 lines to¢the page.¢¢ 3. Move the data file. - Move the data file from any drive to any other drive.¢This allows you to work from a ramdisc and then transfer the data file to a¢permanent disc when completed.¢¢ 4. Quit. - The only way to exit the program except for the reset key. This¢will enable the break key and clear the screen.¢¢ 5. Delete from a file. - Will present each item in the file and allow you to¢delete it with CTRL+D. After you have gone through the file as far as you want,¢you can press CTRL+A to abort the process and return to the main menu.¢¢ 6. Convert a file to SORT.BXE format. - Allows you to sort an existing file by¢changing the format to one compatable with this program. The file can then be¢sorted with option 1 from the main menu. The file to be converted is limited to¢250 items of up to 38 characters each.¢¢¢