Wow, that code is painful on many levels...
>They say that every picture speaks a 1000 words. Well here's several thousand words that might paint a picture for you. To save having to make several points, I hope you don't mind, but I enclose the prog I've been trying to debug. Maybe this will give more insight to my "state of mind", and help make my point. I think it says it all. Please note the liberal coating of loops, exits, returns and skips. Personally I'd prefer to have control constructs in one place only (including the skips), usually at the bottom of the loop. I've deleted several feet of the code including the sparse comments, some instantiations and some white space, to save space here.
>
>Read it and weep.
>
Steve Gibson