WaitKey() and WaitChar()

BlitzMax Forums/BlitzMax Beginners Area/WaitKey() and WaitChar()

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

all it SHOULD take is 1 line! WAITKEY()! Everything else is a total waste


Yes, it would be convenient if waitkey worked outside of graphic modes as well, but it doesn't.
It didn't work outside of graphic mode in the other blitz versions either, if I recall correctly.

Anyway, since you are essentially adding *new* functionality here, one hardly has a good reason to start running around in circles screaming that it's not fair because the workaround isn't a single built-in statement too.

(Of course Pertubatio's sample can easily be used as such, by wrapping it in a small function)