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: zehava wizman <zehavawi1@xxxxxxxxx>
Subject: Re: checking if there are turtles in the page
From: Alain LCSI <alain@xxxxxxx>
Date: Sun, 15 Aug 2010 10:31:06 -0400


Try these:

to cleanup
carefully [everyone [remove who] ] [ ]

But don't get the bad habit of using carefully frequently. It's a bad habit
because it catches the errors silently and your programs are then impossible
to debug when you are deprived of error messages. See the definition of
carefully and error on Help.

Alain Tougas

Le 2010-08-15 à 09:37, zehava wizman a écrit :

> Hello forum!
> I want to use the instruction " everyone [remove who]"  in startup. The
> problem is that when no turtle found, there is an error message:"No turtle
> found for everyone in startup".
> I search for an instruction that will check if there is any turtle ' remove
> it' if not - do nothing!
> How could I do it?
> Thanks, Zehava Wzman

  • Previous by thread: checking if there are turtles in the page
  • Next by thread: Re: checking if there are turtles in the page

  • 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