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

Re: LOGO-L> one-liners



JENEVOLD@aol.com wrote:
> 
> Zippi Katz had submitted this entry:
> Seconds, 15W
> px st setpensize [5 5] repeat 1000 [fd 100 wait 40 bk 100 rt 6]
> 
> Yehuda Katz now submits this
> Face, 15W
> pu rt 30 repeat 12 [fd 110 pd label repcount pu bk 110 rt 30]
> 
> These can work together: First run Face, then, without
> clearing the screen, run Seconds.
> 
> Yehuda also submits this:
> Moire, 9W
> window repeat 180[fd 500 bk 500 rt 2]
> 
> He says:
> > I don't know if MSWLogo supports LABEL and WINDOW.
> > Those entries work perfectly in UCBLogo.
> 
> Yes, MSW Logo does support LABEL and WINDOW.
> 
> When I run FACE in MSW Logo, the numbers written
> by LABEL are all at angles; they are not all right-side-up.
> (It is rather cute.) Different Logos may do this differently.

LABEL in MSWLogo draws text on a line projected by the Turtles heading.
If you don't want them rotated then save the heading,
set the heading to 90 do your label and then restore your heading.
Or choose a font that does not allow rotation.
(i.e. Non TrueType like Courier).

> 
> None of this works in MicroWorlds (version 1.2) without
> a lot of changes. MicroWorlds does not have LABEL,
> WINDOW, PX, nor REPCOUNT. Furthermore, SETPENSIZE
> and WAIT work differently. To top it off, the turtle is shaped
> like a turtle, not a triangle. This makes the second hand look
> a bit silly.
> 

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.

---------------------------------------------------------------
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