Campbell Ritchie wrote:And do not correct code you have posted to match comments made later. You would appear to have added static, which makes Matthew’s post look mistaken.
I didn't edited my code when i edited the post,i had wrongly used [code] tag , so i just corrected it and that too within 30 seconds after making that post and not after Matthew posted.
Have a look at the time when Matthew posted and also when i edited the code.