Waitevent() on non MaxGUI BlitzMax

BlitzMax Forums/BlitzMax Beginners Area/Waitevent() on non MaxGUI BlitzMax

Will something like this compile on a non MaxGUI BlitzMax system?
Graphics 640,480,0,0

While Not (KeyDown(KEY_ESCAPE) Or AppTerminate())
	WaitEvent()
Wend

end


Can I assume that If I do not use the functions in MaxGui.mod the code will compile on a non-MaxGUI system?

I did this before I got MaxGUI

Yes.

thanks guys