One line of code needed...
Posted: Fri Jun 10, 2016 1:48 pm
I have:
In the line "---" I want to get the name of the field
containing the max value.
No prize for the correct answer but lots of gratitude from
a tired old brain.
Code: Select all
repeat with x = 16 to min(36,sCount)
put max(field ("R" & x),field ("B" & x)) into maxVar
put min(field ("R" & x),field ("B" & x)) into minVar
if round(maxVar/minVar,2) > mPerCent then
put round(maxVar/minVar,2) into mPerCent
---
end if
end repeat
containing the max value.
No prize for the correct answer but lots of gratitude from
a tired old brain.