IF X > 3 .AND Y < 4
Mike,
VFP 3.0 adn earlier would ignore anything on an IF, DO WHILE etc. after an invlaid statement. So VFP 3.0 ignores everything after the .AND VFP 5.0 change dthe parsing of these statements so they are fully parsed and errors occur with invalid statements. So the answer for VFP 3 is different than the answer for VFP 5+