Function Quit

Quit()
The function closes the window and terminates the program execution. Example:
DrawText(10, 10, "Press any key to terminate program")
function OnKeyboard(char)
	Quit()
end function