in reply to Re: Multiple numeric not or compare in if statement
in thread Multiple numeric not or compare in if statement
if (($a == 3) || ($a == 77) || ($a == 8)) -- is exactly opposite to -- if (($a != 3) && ($a != 77) && ($a != 8))
Update: correct - meant to show exact opposites, used the most wrong possible to describe this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Multiple numeric not or compare in if statement
by haukex (Archbishop) on Jul 02, 2020 at 07:44 UTC | |
by perlfan (Parson) on Jul 02, 2020 at 13:27 UTC | |
|
Re^3: Multiple numeric not or compare in if statement
by BillKSmith (Monsignor) on Jul 02, 2020 at 15:33 UTC |