----------
I attack solutions that I think will cause problems. I was wrong about your trigger because I did not read it well and kind of jumped on the band wagon. Sorry for that.
----------
Hey, no worries. I just got grumpy when I woke up and saw my methods being put down. I still stand by them though there is obviously room for improvement. I thought the OP just needed some basic structure and would take it from there. Generally, I would not "attack" anyone's ideas (reasonable ideas) but rather try to improve them or explain why they come up short. You actually did that well in an earlier post. Anyway, to keep it simple, thank you for the apology, though you didn't really need to, it was very nice of you and certainly welcome. You are a better coder than I, but I spent a lot of time trying to help that guy and felt like everyone just wanted to argue about things rather than get to the best result. I agree with you about hashtables too. I never learned them and never use them. They are ugly. I saw a nice post once that explained exactly how much memory they use and when to use them instead of arrays, but the general take away seemed like they are rarely faster.
Hatchet buried.