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

Re: LOGO-L> Re: Multiple Turtles



Jim Muller wrote:
> 
> Pardon me for jumping in...Am I missing something here?

Jim,

You are welcome any time.

> One of the delights of Logo has always been the ability to create new
> primitives to suit personal needs. Even LadyBug Logo let you create
> your own commands and load them with the Preface procedure.

You can write library procedures, not primitives. Not everything you can
achieve by a lib. procedure: Try DOTCOL to find what's the color at a
given location, and see that you can't do it as a lib. procedure.

> > > If I recall well, that was the situation in LogoWriter. I don't know how
> > > is it in PC Logo or MicroWorlds. Deserves a check.
> 
> Are you talking about TELL and/or ASK?

I'm talking about a missing PRIMITIVE that reports the position of a
turtle DIRECTLY, with the need to go phisically to its position.

I don't really know TELL and/or ASK. But try it yourself: How you find
the distance between two given turtles? In my proposed primitive all you
would have to say is:

	PR DIST TURTLE 1 TURTLE 2

("TURTLE" is my suggested name for the primitive, but it can be anything
other).

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