Naming Window <IMPORTANT>

BlitzMax Forums/BlitzMax Programming/Naming Window <IMPORTANT>

Im finishing up a game for a contest and its due in like 6 hours, I just realized I dont know how to rename the window in windowed mode! I am on Mac OS X and I cant search the forum because the search system is down, can anyone help me save my contest entry by showing me the code to do this?

Apptitle = "MyWindow" in front of the Graphics command should do it. But I don't know exactly if it will work for Mac.

'apptitle'...
AppTitle$="Hello World"
Graphics 640,480,0
WaitKey()

Works on Win32 so you'll need to check on Mac.

Thanks very much, works!