On Tuesday, July 16, 2002, at 09:38 , Konrad Foerstner wrote:

> Hi,
>
> Im looking for a method to exact the
> biggest element (number) out of array.
> Does anyone know a function for that?

do you mean something like

        my $max= -999999;

        for (@array) {
                $max = $_
                        if $_ > $max;
        }

        print "The Biggest Number in \@array is $max\n";


ciao
drieux

---


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

Reply via email to