On Aug 21, 2015, at 3:13 PM, Ved Sharma <
[hidden email]> wrote:
>
> 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.
This bug is fixed in the latest ImageJ daily build (1.50b13).
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html