Dumps the extra "$flag"s and the negative conditional. Actually uses the returned value from the ternary.$flag = (index( $f1,'1') == -1) ? 0 : 1;
In reply to Re: Re: Correct Syntax
by Sifmole
in thread Need help getting correct syntax for "if" statement
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |