assignment in while/for conditions