Re: bug?
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Aug 21, 2015; 9:11pm
URL: http://imagej.273.s1.nabble.com/bug-tp5014101p5014102.html
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