The following macro code runs fine in ImageJ (version 1.50a, Windows 7)
a = newArray(1, 2, 3);
if(0) {
Array.reverse(a);
}
But, if I remove the curly braces, it throws an error:
a = newArray(1, 2, 3);
if(0)
Array.reverse(a);
Looks to me that it's a bug.
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