Oh - sorry. I knew about that == vs = in the if statements... I was trying to 
simplify the matter for presentation.
I got the errors with this:
> > If (a<c)or (a<b)do      -->fine
> > If (a<c) or (a<b)do    -->fine
But I will amend my ways and put the or inside the parentheses...thank you!
It is hard to break out of one coding language into another; I have gotten 
somewhat used to coding in BCX, and there are little things here or there that 
are different in PP.  I look them up mosttimes, but sometimes they escape.  I 
knew about the == in PP.  BCX just uses one =, so sometimes I forget.


--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> 
> 
> --- In [email protected], Brother Gabriel-Marie <brgabriel@> wrote:
> >
> > If (a=c)or (a=b)do      -->fine
> > If (a=c) or (a=b)do    -->fine
> 
> But not doing what you want it to.  God knows what it's actually doing.
> 
> Equality operator is eq or ==.  Not a single =.
> 
> The whole logical expression must go in paren:  so you want e.g.
> 
>  If (a == c or a == b )do      
> 
> or even
> 
>  If ((a == c) or (a == b)) do      
> 
> (but internal parentheses not necessary)
> 
> Personally I sort of prefer eq over ==, just because it's so easy to make 
> typing mistake and do assignment (a = c) instead of comparison (a == c).
>


Reply via email to