Login  Register

Re: macro help please

Posted by jmutterer on Dec 16, 2009; 12:14am
URL: http://imagej.273.s1.nabble.com/macro-help-please-tp3689867p3689886.html

>
> On Wed, Dec 16, 2009 at 1:03 AM, Larry Nolan <[hidden email]> wrote:
>
>  one thing I don't understand in the fragment you proposed; what's the
> variable 'nResults' coming from?
>

Larry,
nResults returns the current number of lines in the results table. You need
to know this to write to the correct row using the setResult("column", row,
value) macro function. A better explanation is available from the macro
functions page at:
http://rsbweb.nih.gov/ij/developer/macro/functions.html#setResult
Sincerely,

Jerome