Re: String variable made with other variables?
Posted by
pognonec on
Feb 26, 2016; 9:55am
URL: http://imagej.273.s1.nabble.com/String-variable-made-with-other-variables-tp5015716p5015729.html
Thanks Curtis and Christophe for your help.
Indeed,
run("Make Substack...", "delete slices=" + b + "-" + e);
does the job.
But I cannot set a variable string containing other variables to work. Curtis suggestion unfortunately does not work either. For example, if you try:
b= 10;
e = 2;
d = "b + "-" + e";
print(d)
You get an error on "-"
:-(
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html