by "don" <faydon1@[EMAIL PROTECTED]
>
May 8, 2008 at 10:04 AM
you need to put the second in pren's
I i<j&(k>j) W "yes",!
"Duke Normandin" <dukeofperl@[EMAIL PROTECTED]
> wrote in message
news:pURRj.3093$PM5.3083@[EMAIL PROTECTED]
> set i=1,j=2,k=3
> if i<j&k>j write "yes",!
>
> i _is_ less than j AND k _is_ greater than j
>
> so why is _yes_ NOT printed?
>
> The logical operator & tells me that both relational expressions must
> be true in order for the _yes_ to be printed. That's exactly what it is,
> so what am I missing? TIA......
> --
> Duke Normandin