[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Tessellation program



Yehuda presented an interesting short tessellation program which I converted to 
MicroWorlds as follows:

to do :size :level
if :level < 1[stop]
repeat 6[shape1 rt 60]
end

to shape1
pd
fd :size
rt 180
do :size :level - 1
rt 180
end

I  executed it using  DO 3 16  with the following results:
1) the program never stopped.  I am sure it has to do with STOP which has a 
different meaning in MicroWorlds.
2) when I used STOPME or STOPALL it only drew a short line, meaning that it 
probably only executed the first few lines of SHAPE1.

Here is the MicroWorlds definitions of the various stops:

STOP

Stops the procedure that is running. Stop can only be used in a procedure.

STOPME

Stops the process in which this command was run. Stopme cannot be used to stop 
a turtle inside a color instruction. In this case, use clickoff instead.

STOPALL

Stops all running procedures and processes including turtles and buttons. 
Stopall can be used as a button, from the Command Center, or in a stop rule in 
a procedure.

Please help.

Ray Catzel
President  ComputerPals
Email:  learn@computerpals.on.ca
Internet:  http://www.computerpals.on.ca/~pals

---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home