IF a THEN b ELSE c FI := IF d THEN e ELSE f FI;
which was great. You can do something like that in Perl using the ternary operator:
($a ? $b : $c) = ($d ? $e : $f);
You can't do that in C or Java without use much more code.
Abigail
In reply to Re: ternary operator ?
by Abigail-II
in thread ternary operator ?
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |