The two print statements were there for the sake of having 2 commands. Most of the time I have in statements I have more than one statement to execute in the block.
(Condition) ? (if condition true statements) : (if condition false statements); Seems to me that multiple commands are executed in reverse order (right to left). -----Original Message----- From: Tim Musson [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: Re: Best way to return largest of 3 Vars? Hey Jensen, My MUA believes you used Internet Mail Service (5.5.2653.19) to write the following on Friday, January 10, 2003 at 11:23:43 AM. JKBSAD> $one = 1; JKBSAD> ($one == 1) ? (print "\$one equals", print "$one") : (print JKBSAD> "\$one does not ", print "equal 1"); Why the double print statements? ,----- [ you can change ] | (print "\$one equals", print "$one") `----- ,----- [ to ] | (print "\$one equals $one") `----- -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) Hang up and drive. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]