logical if in C

Udo was apparently referring to the original statement:

If(temp=-1 || temp1=-1){

which doesn't compile:

sketch_sep12a:4: error: lvalue required as left operand of assignment

Pete