Originally Posted by DaWei
You appear to be the one that is clueless. Because your code is not indented, I won't look at it. I did look at the messages and give you a tip, which you seem to be ignoring. I'll give you one more, then I expect you to help us help you by presenting decently formatted code.
I would suggest one more thing. Help us to know the errors and not the whole bunch of code where we need to find the errors for you.