Peter Decker wrote: >> Also, that finds the maximum, not the median. I had stopped examining >> it after seeing it used more than one variable. > > Um... isn't 'p' the list in question? no, it's a pointer to the current item in the list. </F>