>>Thank you, Naoto.
>>As you said, some of the other suggestions seem simpler.
>>I'll try them and then look at this one.
>
>BTW -- just to make it clear, only the last two functions listed are needed - the rest is simply test code to verify that those functions are returning the expected results.
Naoto
Thank your for the clarification.
I think the solution that uses Marcia's ideas produces the fewest lines of code and probably the smallest number of executions.
It's also the most straightforward and at my age, being able to understand things quickly takes a high priority.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.