General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
Hi Mike
DIMENSION test(2,2)
test[1,1]=2
test[1,2]=.T.
test[2,1]=3
test[2,2]=.F.
? test[ASCAN(test,3,1,0,1,8), 2]
>I'm having a senior moment here. I can't rember the syntax to search a two column array, searching on the first column, and returning the second column.
>
>i.e. array test is defined as test[2,2]
>elements are
>test[1,1]=2
>test[1,2]=.T.
>test[2,1]=3
>test[2,2]=.F.
>
>so how would search test for test[1,1]=3 so it would return .F.
>
>Hope the expalnatio helps.
>
>TIA
>Mike
Previous
Next
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