Bug in boolean macro expression?
Posted by
vischer on
Jun 05, 2014; 8:54pm
URL: http://imagej.273.s1.nabble.com/Bug-in-boolean-macro-expression-tp5008047.html
Hello All,
I get different boolean output for this expression:
a = false && false || true && true;
print(a);
output JavaScript: true
output Macro: 0
Documentation says:
The ImageJ macro language supports almost all of the standard Java operators but with fewer precendence levels.
But hopefully the above is not intended!
Norbert
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html