Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 25, 2016 1:35:19 GMT -6
Waitkey() is not working normally , when i press a key nothing happen.
num$ = input$("Give a number")
ar = val(num$)
for i = 0 to ar
print i
next
waitkey(K_ESCAPE)
|
|
|
Post by n00b on Aug 25, 2016 12:09:23 GMT -6
WaitKey() along with all the keyboard events are window events and only work with a window. If you are on Windows you could use system(pause). I dont know if there is a good way to do this on Linux.
|
|