Login  Register

Re: Help with import results with criteria

Posted by Gabriel Landini on Apr 09, 2011; 7:32pm
URL: http://imagej.273.s1.nabble.com/Help-with-import-results-with-criteria-tp3685060p3685063.html

On Saturday 09 Apr 2011, Moniraj Ghosh <[hidden email]> wrote:
> I am trying to import results table based on a certain criteria and I keep
> on getting a "out of range" error. Can someone help to figure what is
> wrong in the macro?

Without running it, this caught my eye:

>       if(items[8] <=1.3)

You need to parse the string into a double.
At the moment you are comparing a string to a number.

Regards

G.