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]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: set on/off
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Sat, 28 Oct 2006 15:58:45 -0500

On 28 Oct 2006 at 7:22, Jeff Knope wrote:

> Perhaps someone else can answer your question.  When and how is the property 
> "on? used?

Hi,

In this file:
file:///c:/Program%20Files/LCSI/MicroWorlds%20Pro/Help/MWTopics/content/s3c3t2.htm

I found:

Instruction
set "t1 "on? "true

Equivalent to
clickon

Instruction
set "t1 "on? "false

Equivalent to
clickoff


Another similar way to what Jeff describes is:

Issue the following command in the Command Center:

turtlesown "open?


Modify the procedures in the following way:

to open_curtain
t1, setsh 21 wait 1
setsh 22 wait 1
setsh 23
setopen? "true
end

to close_curtain
t1, setsh 23 wait 1
setsh 22 wait 1
setsh 21
setopen? "false
end

to try
t1, ifelse open? [close_curtain][open_curtain]
end

then type the following command in the Command Center

open_curtain



Daniel
OpenWorld Learning




  • Previous by thread: Re: set on/off
  • Next by thread: Re: set on/off

  • 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