Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

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

[Thread Prev] [Thread Next]

To: MicroWorlds Forum <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: checking if turtle is hidden
From: zehava wizman <zehavawi1@xxxxxxxxx>
Date: Thu, 2 Jun 2011 04:54:44 -0700 (PDT)

Hello Daniel!
thanks for your quick and simple answer.
Another question is how I can write a simple procedure that can check if a
letter is the right letter to be in the word. The game is displaying a word
that only the first letter and the final letter is appeared. The user has to
guess which letter to put'.If  it OK the letter is stamping itself, if it
not,  its goes to its first location.
I tries to do something and didn't succeeded.
How can I do it in a simple way?
thanks, Zehava

--- On Wed, 6/1/11, Daniel Ajoy <da.ajoy@xxxxxxxxx> wrote:

From: Daniel Ajoy <da.ajoy@xxxxxxxxx>
Subject: Re: checking if turtle is hidden
To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wednesday, June 1, 2011, 5:46 PM

On Wed, 01 Jun 2011 02:00:57 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:

> Hello Forum
> I want to know how can I check some condition if two turtles are hidden or
> not , and according to this condition, do something
>  I tries to write thos proc:
>  to test
> if and (set "t1 "visible? "true) ("t2 "visible? "true)[ announce [hello]]
> end
>  it's doesn't work.
> thanks, Zehava

"set" is for setting values.
"get" is for getting values:

to test
if and (get "t1 "visible?) (get "t2 "visible?) [ announce [hello]]

OpenWorld Learning

Attachment: fix a word.mwx
Description: Binary data

  • Previous by thread: Re: checking if turtle is hidden
  • Next by thread: Re: match and repel

  • 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