IDL's WHERE function is the function that can locate the subscripts of subsets in an array that contain specific values or a specific range of values. Thus, code like the following:
targetValue = 3.1
subscriptsWithValueBelowTarget = where(myArray lt targetValue, count)
if count gt 0 then begin ,,,
would be typical for the functionality you are looking for.
James Jones
|