Posted 09 September 2012 - 10:37 PM
Hi there
I want to run a function, wich updates a screen, and pull a key event at the same time.
I think, I have to use
I tried it with these two codes, but no one worked:
Can someone help me?
(If someone understands my english :D/>/> )
Thanks!
I want to run a function, wich updates a screen, and pull a key event at the same time.
I think, I have to use
parallel.waitForAny
I tried it with these two codes, but no one worked:
parallel.waitForAny(UpdateScreen(), os.pullEvent())
parallel.waitForAny(UpdateScreen, os.pullEvent)
Can someone help me?
(If someone understands my english :D/>/> )
Thanks!