simple question

Blitz3D Forums/Blitz3D Beginners Area/simple question

Apollonius(Posted 2003) [#1]
why doesnt this work?
While Not KeyDown(1)

If EventID() = $803 Then
		End
EndIf



Wend
End



semar(Posted 2003) [#2]
Perhaps you need a WaitEvent() statement in your While..Wend loop. Have a look at the on-line manual for the EventID command:

http://www.blitzbasic.com/bpdocs/command.php?name=EventID&ref=goto

Hope this hepls,
Sergio.