Re: Ternary logical operators in ImageJ macros
Posted by
Herbie on
URL: http://imagej.273.s1.nabble.com/Ternary-logical-operators-in-ImageJ-macros-tp5017215p5017214.html
Good day Philippe!
"Ternary logical operators" ??
Not that I know of and please see "Operators" at:
<
https://imagej.nih.gov/ij/developer/macro/macros.html>
Best
Herbie
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Am 20.09.16 um 16:47 schrieb CARL Philippe (PHA):
> 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>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html