Login  Register

Re: Repeat command within a macro

Posted by Michael Doube on Jul 07, 2010; 9:18am
URL: http://imagej.273.s1.nabble.com/Repeat-command-within-a-macro-tp3687713p3687715.html

> for (s = 1; s<  nSlices(); s++){

Whoops - that should be s <= nSlices(), because slice numbers have the
"unique" quality of counting from 1, not 0, so this example would leave
out the last slice!