Login  Register

x=getNumber(); HOW TO add rows?

Posted by maringa on Jul 10, 2009; 11:24am
URL: http://imagej.273.s1.nabble.com/x-getNumber-HOW-TO-add-rows-tp3691822.html

Hi,
I use this function:

var x=1; {
x= getNumber("enter number of somas",0);
print("number of somas="+x);
}

which gives a dialogue box where I can input numbers, but how do I extend the number of
rows to more than one?

The idea is that it should be possible to fill in a couple of things, press OK, and the macro
performs some calculations (for example divides number of somas with number of endpoints)
and then presents everything in a new result window. Is this possible to do?

Any suggestions?