--- In [email protected], Brother Gabriel-Marie <brgabr...@...> 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