### Alphabetic Sort v.2.01 4/8/83 SG *** алпха нумериц сорт *** мацрофеатуре ALHPA will sort a customer list or other file in ascending alphabetic or numeric order. It is assumed that you have a properly formatted file on disk. The results will be left in a named disk file. The file CUSLIST.DEM is formatted correctly to operate correctly with the options as currently set. ## A "10 " "Number of lines in each record " B "2 " "On which line do you wish to sort? " C "4 " "Field Description " "" " 0 = Literal 1 = 1st word " "" " 2 = 2nd word 3 = Last word " "" " 4 = Name (First/Last) " D " " " Minimum target " E "ZZZZZZZZZ" " Maximum target " H "15 " "How many characters for key field " I "1 " "Validation check (0=no, 1=yes) " # :ON -1 100 T/F%4/H0/H10000 :%5 = 0 :pr "#1/BEGIN SORT" :%9 = %4+1 :on -1 75 :%9 = %9-1 :%3 = 0 t :%A = ! f%9 :ON ?-3 / 30 / :%B = ! :ON %A%B 20 / / B%9/F1 :ON -1 12 B0/S/%B/%A/ B%9/S/%A/%B/ F1 :%3 = %3+1 :ON -1 12 :%5 = %5+1 :pr "#0/pass %5,%3 " :ON %3 9 7 9 t s/