Infinite Input Validation
This is similar to the previous example, but this one provides infinite validation of the the user input.
That means if you enter bad input, the script will keep asking you to re-enter input that is valid until you either do so, or give up.
This is accomplished by a powerful programming statement called a loop.
Read the comments in the source code to see how this example works.
The next example in this lesson explains loops in general in more detail.