I was very put off by the attitude that TonyT displayed on a forum that is here to help in the learning process.
You seem to have 'help in the learning process' confused with
outright tutoring.
I don't have time to explain the half-dozen things that he
doesn't understand, so that he can understand the simpler
answer to why his code doesn't work.
Of course, if you had the time to go out of your way to
explain the basic concepts and principles of the language
to him in painfully excruciating detail, and terms he can
undersand, why the hell didn't you just do that, which
would have been a much more dignified way of protesting
my attitude.