Re: image name as a variable
Posted by
Aryeh Weiss on
Jul 26, 2018; 7:38am
URL: http://imagej.273.s1.nabble.com/image-name-as-a-variable-tp5005464p5021000.html
On 26/07/2018 0:44, pduw wrote:
> I am a novice and just started using ImageJ macros. I wanted to solve the
> same problem as OP, which is solved now. But I am wondering what does the
> ["+temp+"] does, what's the significance of the + here?
The + concatenates strings. So, if
temp = "myFileName"
and you argument string is constructed as
"all kinds of arguments ["
then
"all kinds of arguments [" + temp
will return a new string
"all kinds of arguments [myFileName"
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html