Hello, please follow this advice before you are punished!!
AWOL:
Code tags would be good too. I do believe you've been asked before to do that.
Just write:
[ code ][ /code ]
(without spaces)
And, if you explained the problem it would be useful ![]()
In your code is missing a closing bracket "}", that's why indentation is useful ![]()