On Wed, 2002-05-15 at 11:50, drieux wrote:
>
> On Wednesday, May 15, 2002, at 02:46 , Felix Geerinckx wrote:
>
> > on Wed, 15 May 2002 09:30:04 GMT, [EMAIL PROTECTED]
> > (Stefan Haberer) wrote:
> >
> >> if( 0 <= $avg_speed <= 5 ) { $speed_cost_code
> >
> > You need
> >
> >
on Wed, 15 May 2002 15:50:56 GMT, [EMAIL PROTECTED] (Drieux) wrote:
> On Wednesday, May 15, 2002, at 02:46 , Felix Geerinckx wrote:
>> You need
>>
>> if ( 0 <= $avg_speed && $avg_speed <= 5 ) { ... }
>
> is there any issue with using 'and' one way or
> the other
One keystroke.
--
feli
The only issue with using 'and' as I understand it is that it has a lower
precedence than &&, so sometimes you end up having to put in more
parentheses. I usually opt for using && just so I know where I stand and
use parentheses and algorithmic contortions to make it say what I need.
-Orig