>m.TheWord3 appears by magic. It has to get a value from somewhere, but this code doesn't show that for the second SCAN. For that matter, m.TheWord1, m.TheWord2 don't get values from anywhere either.
>
>
>>In the first scan, TheWord3 is set to Indicator. Where does Word3 come from in the second SCAN?
>>
>>TheWord(s) exist in a table. Word3 is TheWord3 throughout for comparison to TheWord1 and TheWord2 to check for, and avoid duplication. Once the comparison is done and TheWord3 is not the same as 1 or 2, it is saved and TheWord4 begins being compared to 1,2 and 3. Once(or if) 5 distinct indicators are found and saved the code moves on to the next process.
TheWord3 is a private variable initialized(TheWord3 = " ") when the program starts.
There are five separate scans in numerical order. First if TheWord1 exists then the indicator is collected.
In the second TheWord2 value is compared to TheWord1 and if == TheWord2 is discarded and the loop advances to the next value for TheWord2 and so on until there's a match or the complete indicator table has been searched
In the third TheWord3 value is compared to TheWord1 and TheWord2 if == TheWord3 is discarded and the loop advanced to the next value for TheWord3 and so on . . .
TheWord4 and 5 are coded in the same manner.
I'm hoping this is what you wanted.
I ain't skeert of nuttin eh?
Yikes! What was that?