>dimension my_array(3,2)
>my_array[1,1] = 1
>my_array[1,2] = 3.00
>my_array[2,1] = 2
>my_array[2,2] = 450.00
>my_array[3,1] = 3
>my_array[3,2] = 2.00
>
>I want the see if value 3 exist in the 1st column
>
>if i do
>pos = ascan(my_array, 3) then pos will be = 2
>
>what to do ????
>
>Thank you ALL
Hi Joao,
Here's all there is to it using your example:
lnpos = ASCAN(my_array, 3)
lnrow = ASUBSCRIPT(my_array, lnpos, 1)
lncol = ASUBSCRIPT(my_array, lnpos, 2)
hth,
George
Ubi caritas et amor, deus ibi est