>>This is because AND operator short-circuits. So when 1 < foo() is false, it >>terminates then and there. is there any language which doesn't short circuit and,or,(|| ,&&)? just curious .I never heard of any. Thanks&Regards, Srinivas Reddy Thatiparthy, Mobile:9393099772,