Maringa,
Have a look at the Dialog.create function and dialog building/parsing
functions below for multiple inputs.
http://rsbweb.nih.gov/ij/developer/macro/functions.html#DChristophe
On Fri, Jul 10, 2009 at 1:24 PM, maringa<
[hidden email]> wrote:
> 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?
> --
> View this message in context:
http://n2.nabble.com/x%3DgetNumber%28%29--HOW-TO-add-rows--tp3236357p3236357.html> Sent from the ImageJ mailing list archive at Nabble.com.
>