lcd.clear; doesn't do what you think.
lcd.clear(); does do what you think.
Can you see the difference?
If you want to post obfuscated C, there's a forum for that.
This is not that forum.
Put semicolons at the end of lines, not the beginning.
Fix your code, then we can talk.