>If the return value is 0, a match wasn't found. Passing .T. as the last parameter does what's known as a "soft search". In that case, the value of the next greatest element is returned.
Thanks for the snippet. It will be useful!
Terry
Imagination is more important than knowledge