IfButtonPressed("Hi")
CloseWindow("Hello World")
else
ShowWindow("Hello World")
endif