--- Terry Collins <[EMAIL PROTECTED]> wrote:
> Just need to run though a file and find the
> maximum number in field 2
> and field 3. (Two runs okay).
start pseudo code...
while (more lines)
read in line and split on whitespace;
if ($data[2] > $max2)
$max2 = $data[2]
if ($data[3] > $max3)
$max3 = $data[3]
end while
print $max2 $max3
this the kind of thing you are after?
marty
- [SLUG] Max in $2, $3 Terry Collins
- Re: [SLUG] Max in $2, $3 Jobst Schmalenbach
- Re: [SLUG] Max in $2, $3 martin
- Re: [SLUG] Max in $2, $3 Andrew Bennetts
- Re: [SLUG] Max in $2, $3 Scott Howard
- Re: [SLUG] Max in $2, $3 Terry Collins
- Re: [SLUG] Max in $2, $3 Scott Howard
