[MWForum]Holding down a keyboard key during a MWPro game

Logo Computer Systems Inc. mwforum@lists.mathcats.com
Wed, 22 Jan 2003 12:20:12 -0500


>On 21 Jan 2003 at 12:20, Logo Computer Systems Inc. wrote:
>
>>  >I know how to acknowledge when a player presses a keyboard key in 
>>MicroWorlds
>>  >Pro (using a procedure with readchar).  This is working well.  But is it
>>  >possible to know when the player is HOLDING DOWN a key for multiple
>>  >implementations of the function?  It would be great if I could allow him to
>>  >do this.   Ideas?  Thanks.
>  > >Lisa Richter (forwarding this question from a student)
>>
>I don't really understand the question. Is Lisa asking how can
>the program know if a key is being held down for some time?
>
>If so, I think the answer is: "it can't".
>
>What is that about "multiple implementations of the function"?

Hi Daniel,

I had come to the same conclusion.  However,  I was also not sure as 
to how to interpret the question.

Thanks.

Shawn
-- 

Logo Computer Systems Inc.
1 Westmount Square, Suite 300
Montreal,QC  Canada
H3Z 2P9
info@lcsi.ca
www.lcsi.ca