LST commands for processing lists of 'words' in the edit field Simple modifications for any text blocks ending to an empty line can be made by LST commands. LST REPLACE A,word1,word2 replaces all occurrences of word1 by word2 in the list starting from line A. If word2 is not given, occurrences of word1 are replaced by spaces. Example: *LST REPLACE A,YX,- A XX YX XY YY YX * After activation of LST REPLACE above: *LST REPLACE A,YX,- A XX - XY YY - * ------------------------------ LST TRIM A removes all extra spaces from a list starting from line A. Example: *LST TRIM A A First Second * Third Fourth After activation of LST TRIM above: *LST TRIM A AFirst Second *Third Fourth * ------------------------------ LST COUNT A,s,d creates a list of integers s, s+d, s+2d, ... starting from line A. Example: *LST COUNT A,100,50,1500 A * After activation of LST COUNT above: *LST COUNT A,100,50,1500 A100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 *950 1000 1050 1100 1150 1200 1250 1300 1350 1400 1450 1500 ------------------------------ LST SET A,s,d,'word' in a list w(1), w(2), ... starting from line A replaces items w(s), w(s+d), w(s+2d), ... by a given 'word'. Example: (removing multiples of 7) *LST SET A,7,7,- A1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 *27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 *50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 *73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 *96 97 98 99 100 * After activation of LST SET above: *LST SET A,7,7,- A1 2 3 4 5 6 - 8 9 10 11 12 13 - 15 16 17 18 19 20 - 22 23 24 25 26 *27 - 29 30 31 32 33 34 - 36 37 38 39 40 41 - 43 44 45 46 47 48 - *50 51 52 53 54 55 - 57 58 59 60 61 62 - 64 65 66 67 68 69 - 71 72 *73 74 75 76 - 78 79 80 81 82 83 - 85 86 87 88 89 90 - 92 93 94 95 *96 97 - 99 100 * T = More information on text editing