in reply to Re^2: IF condition with a range
in thread IF condition with a range
You're thinking of something like this:
if ( it is equal ) { do something; } elsif ( it is equal or close ) { do something else; }
But you want:
if ( it is equal ) { do something; } if ( it is equal or close ) { do something else; }
Or even:
if ( it is equal or close ) { if ( it is equal ) { do something; } do something else; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: IF condition with a range
by Anonymous Monk on Jul 17, 2018 at 08:44 UTC | |
by haukex (Archbishop) on Jul 17, 2018 at 08:59 UTC |