[MWForum]Re: arrays? (was: New to LOGO)
Daniel Ajoy
mwforum@lists.mathcats.com
Tue, 15 Mar 2005 20:19:53 -0500
On 15 Mar 2005 at 15:03, Jeff Knope wrote:
> You may create a list of
> any size. You may add more to it, subtract elements from it, manipulate its
> elements (recurrsively, not globally)
Hi Jeff,
What do you mean by "not globally"?
> in any way, at any time. Also, lists
> may have any number of levels of complexity (lists of lists of lists...).
> (Note too, "setitem" is not a LOGO primitive.)
Logo is a family of different implementations of a language that has
no standard. There are more than 120 different implementations:
http://www.elica.net/download/papers/LogoTreeProject.pdf
and some of them do have arrays. But I think you are right,
lists pretty much can replace arrays in most problems
(at least in most of the problems I've encountered)
Does anyone can think of a counter-example?
Daniel
OpenWorld Learning
PS. Besides, arrays can be simulated to a certain extent if
you really need something like it.