Jean Delvare wrote: > > Mark, > > > looks fine to me... > > temp_min1 is 3rd from last... > > OK, actually the variables are swapped everywhere (for temp1), so > although it is a mess from a developer's point of view, it doesn't hurt > the user. > > Still I would bet that temp2 and temp3 suffer from the problem I > suspected. Writing to temp_max2 would probably change temp_min2's value > instead. Could you confirm? > correct, that's what it does, max and min are swapped for 2 and 3.