I understand your point not to give useful or easy understandable answers for such homework questions.
But I think its false to give complicated answers.
Instead you should try to help - this is the sense of the forum. Must not be a solution but some hints should always be useful.
Such like:
"You have to use a third variable to change the content of two variables"
Your answers (not Thaddys) are not useful for a beginner. Help them to get them with Lazarus !!!

You all had a time where you began coding !

All other answers are coming from (maybe genious) apes I think....
