On Tue, 20 Nov 2001, shirley wrote: > I've got a program running and extracting minimum values from the data > base, but if there is no data available for the day on the data base, the > value -999.9 is reflected. so how do I tell my program to skip the -999.9 > and then select the minimum value out of the data base.
To skip while looping: next if ($value == -999.9); To keep the min value of $value: my $min; $min = $value < $min ? $value : $min; > "Your life is not a coincidence, its a reflection of You." > ****************************************************************** > Movalo R.S > Prediction Research > South African Weather Service > Pretoria, 0001 > Tel: 012 309 3807 > E-mail: [EMAIL PROTECTED] > Call our Weather line at 082 162 > Visit our website at : www.weathersa.co.za > **************************************************************************** > ********** > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]