Hi all,
I received an error when I tried to have multiple initializations in a for loop. Does macro language not support multiple initializations?
Here is the macro I was trying:
for(i=2, str="1"; i<=5; i++)
str = str+","+toString(i);
print(str);
The macro works fine (prints 1,2,3,4,5), if I pull one of the initializations (str="1") out of the for loop.
Thanks!
Ved
___________________________________
Ved Sharma, PhD
Department of Anatomy and Structural Biology
Albert Einstein College of Medicine
Bronx, New York
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html