At 3:05 PM -0400 10/11/02, James Edward Gray II wrote: >>> print FILEHANDLE (list, of, stuff), next if (condition); >> >> print FILEHANDLE (list, of, stuff); >> next if (condition);
>....But these two examples don't behave the same. The first one prints >and calls next, only on the condition. The second one always prints >and then calls next, if the condition is true. You're right James. I saw that from your earlier letter that I received after I sent mine -- the 'if' has a higher precedence than the comma and both statements are executed conditionally. And I agree with your earlier letter that it is better to break those into two statements and enclose them within an 'if' block -- much cleaner that way. Thanks for clearing that up! ---Larry +------------------------------------------------------------------------+ | Larry Coffin, G.P.H. Watertown, MA | | http://www.PointInfinity.com/lcoffin/ [EMAIL PROTECTED] | +------------------------------------------------------------------------+ Today is the tomorrow you worried about yesterday - -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]