Quote Originally Posted by Joe S.
I am curious about the indenting you used, is it there so you the programmer can keep it straight in your mind or does it affect the program in some way?
Joe,
Indenting is just a way to keep nested levels of code straight. It is purely technique and does not affect the code in any way (with the exception of Labels, which should start in the first column). I've seen a number of different schemes. It is just one aspect in organizing your programs. The key is find something that works for you and sticking to it religiously. Then, when you come back to a piece of code you wrote 6 months ago (or you have a complex, many line program), you can quickly reaquiant yourself with what is happening and find what you need easily.

Here is a very nice post by Melanie on the idea of program structure. If you have nothing to start from, you can't get much better than learning the ropes from someone like Melanie.

I see you put {the IF... statements} all at near the end of program
Again, in this case just another way to orginize things to hopefully make the logic a little clearer.

Wow that is very close to my first try which I could not get to work
Maybe just for fun you could post the code you tried that did not work, and folks here could show you why it didn't. Could be a chance to learn from some very smart, capable folks (from whom I myself am indepted greatly). If so, look here for formating, particularly using [code]...[/code] to format your posts so they are more readable.

Good Luck,
Steve