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> my $max = (sort {$b<=>$a} ($x, $y, $z))[0];

JKBSAD> What is the "[0]" doing?

It is putting the largest value in $max. Try changing it to -1, it
will put the smallest in $max. Similar to how you access values in an
array.

-- 
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Whoever has the most when he dies... IS DEAD!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to