Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for Either/Or key Strokes
#5
Hi Gintaras,
Thanks so much for this. It occurred to me too to do it this way but I didn't know the syntax.
One thing though:
The err options seem to get in the way of the case statements:

Code:
Copy      Help
sel wait(5 K)
err
,mes "time out"
,ret
,
,case VK_F2
,,mes "yes"
,,ret
,,;goto g2
,case VK_RETURN
,,mes "yes"
,,ret
,,;goto g2
,case else ret

Any ideas?
Thanks,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)