1. When I positioned the cursor in V2, a message box pops up: "Just entered second text box."
txtInput1_GotFocus handled that event.
2. The purpose of the message boxes in this program is to display intermediate results and to locate errors in the middle of a program that would not necessarily be clear in an output of the program.
The purpose of the label lblStatus tells you where and when each subroutine is being executed.
3. There are no displays of MsgBox statements except for btnCalc_Click procedure. This happens because by the program ignores everything that appears after the apostrophe; it represents a comment.
4. The program breaks when you hit calculate and displays all the current values of the variables at the current state in time.
5. Makes the program continue beyond the breakpoint because there are no other breakpoints in the program.
6. 0 for variable 1.
0.0 for variable 2.
7. 10 for variable 1.
12.0 for variable 2.
8. I see the current value of variable 1. This is different from the assignment statement because one is a command and the other actually shows the current value.
9. Display intermediate results; breakpoints; watch variables; data tips; single line execution
10. It is not correct for words that are palindromes, but it does work for words that are not palindromes. Test cases I tried were "dad, racecar, apple, chair" because two of the test cases are palindrome and the other two aren't.
11. 1. For intCount = 0 To intMidPoint: used breakpoint and watch window
2. strRight = strInput.Substring(strInput.Length - 1 - intCount, 1) " used breakpoint and watch window
12. Sean Henley