[MWForum] to advance the turtle

Azim mwforum@lists.mathcats.com
Sat, 11 Jan 2003 07:47:00 +0100


Hi Daniel,

thanks for the answer, are what I tried!



Azim



thanks!, ThankS, THANK
----- Original Message -----
From: "Daniel Ajoy" <dajoy@openworldlearning.org>
To: <mwforum@lists.mathcats.com>
Sent: Saturday, January 11, 2003 1:13 AM
Subject: Re: [MWForum] to advance the turtle


> On 10 Jan 2003 at 11:16, Azim wrote:
> > How can be intercepted a key and if maintained pressed to make to
advance
> > the turtle?
> >
>
> What about this:
>
> to go
>  forever [
>   if key? [
>    make "dummy readchar
>    fd 20
>   ]
>  ]
> end
>
> (Project Attached).
>
> This was a "hack" from code in this project:
>
> C:\Program Files\Lcsi\MicroWorlds Pro\Help\MWVoc\primitiv\getpage.mw2
>
> That project corresponds to the "key?" primitive help page.
>
> Daniel
> OpenWorld Learning
>
>