Ternary logical operators in ImageJ macros
Posted by
CARL Philippe (LBP) on
URL: http://imagej.273.s1.nabble.com/Ternary-logical-operators-in-ImageJ-macros-tp5017215.html
Dear all,
are the Ternary logical operators implemented within the ImageJ macros language, like:
x = x < 0 ? x - 5 : x + 5;
Of course such instructions can be covered with if and else instructions, but they can quite shorten a code.
I thank you very much in advance.
My best regards,
Philippe
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html