Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wait keydown bug ???
#1
Hi everyone

When you say "wait keydown" it means any key right ??? yes ? no ?

Let my give you an example (windows version)


If i press ENTER key or F1 or BACKSPACE or SHIFT or CTRL or ... program doesn't end. [Image: bug.png][Image: wink.png]
Reply
#2
Some keys won't work, f1 in linux wors but enter ctrl etc doens work either, keydown also accepts 2 parameters, the keycode and a boolean.
Reply
#3
(06-15-2018, 03:24 PM)cvirus Wrote: Some keys won't work, f1 in linux wors but enter ctrl etc doens work either, keydown also accepts 2 parameters, the keycode and a boolean.

What windows help is saying is


procedure wait keydown

Wait for any key to be pressed.


So assumed that any is any [Image: smile.png]
Reply
#4
'wait key' was probably one of the first things I added to naalaa many years ago. Maybe it hasn't aged well when other keyboard stuff has changed Smile Sorry, I'll have a look at it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)