Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

Subject: to advance the turtle
From: mwforum@xxxxxxxxxxxxxxxxxx (Azim)
Date: 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@xxxxxxxxxxxxxxxxxxxxx>
To: <mwforum@xxxxxxxxxxxxxxxxxx>
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
>
>




  • Previous by thread: to advance the turtle
  • Next by thread: to advance the turtle

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008