Dear Masters,
Nice to meet you.
I tried to double loop with the script , attached csv data but it will not be the result I think.
The minimum value of the difference between the A column and B 1, the minimum value of the difference between the A column and B 2, the minimum value of the difference between the A column and B 3,........difference between column A and B10.
I wanted to output the minimum value of the difference between column A and B until B10, but only the minimum value of difference between A1 and B1, value was "-8", is output.
--------------------------------------------------
db = Current Data Table();
temp = Column( "A" ) << Get Values;
temp2 = Column( "B" )<< Get Values;
Row = N Row( db );
a=0;
For( i = 1,Row, i++,
a=temp[i];
g=0
For( j = 1, Row, j++,
g = temp2[j];
Col Minimum(a-g );
);
);
------------------------------------------------------
Thank you for your kind support.
Uribo