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

Re: LOGO-L> One-Liner



Gregory D. Simkins wrote:
> 
> The following one liner and other code was developed
> by my 6th Grade class...  I hope you enjoy them as
> much as I did.
> 
> Basic Spinning Wheel
> define "spin [[][repeat 15 [fd 100 bk 100 rt 5]]] repeat 25 [spin fd 100]

Hi Gregory,

It's wonderful that your 6th graders can use DEFINE.

On the other hand, the above example is sort of over-kill, as it can be
written in more conventional, and easier to understand, form as:

==============================================
repeat 25[repeat 15[fd 100 bk 100 rt 5]fd 100]
==============================================

Regards...

[[Yehuda]]


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