General information
Category:
Coding, syntax & commands
>>>This should eliminate the need for a DO WHILE.
>>>
>>>I have not done any testing on this but it sounds good
>>>to me.
>>>
>>>lnStartElement = AELEMENT(ArrayName,1 ,nDesiredColumn)
>>>lnStopElement =( AELEMENT(ArrayName,1 ,nDesiredColumn+1) -1)
>>>?ASCAN(Array, "FindMe",lnStart, lnStopElement)
>>>
>>Chris,
>>
>>1. I'm not sure you can do it without a DO WHILE since you cannot do the actual ASCAN on a specific column, therefore you have to validate the column number.
>>2. Assumming that no.1 is true, I'm not sure I understand the purpose of using AELEMENT() as described above. Please explain.
>>
>>Sorin
>
>You are correct.
>
>I had thought that array element numbering went vertically and then over to the next column.
>Therefore it would be possible to identify the first and the last element in a particular column and use those numbers for starting and ending elements to search.
>To my dismay, I have relearned that element numbering goes across and then down.
>
>I should have known that I had done it perfectly in the first place.
>
>
>Chris
Riiight, ri, ri ri right!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only