I'm getting the syntax error: "Statement cannot be just an expression." Here's the piece of code where it occurs: $Check = WinExists("MySQL Installer")
If $Check <> "" Then
WinClose("MySQL Installer")
Else $Check = ControlGetHandle("", "&No", '[CLASS:Button; INSTANCE:2]')
If $Check <> "" Then
ControlClick("", "&No", '[CLASS:Button; INSTANCE:2]')
Sleep(10000)
WinClose("MySQL Installer")
EndIf
EndIfAnyone know why this error is occurring?