[starlogo-users] patch and global variables...

josh jbuhl_nospam at gmx.de
Mon Mar 12 20:20:14 EDT 2007


Hi Ken,

Ken Kahn wrote:
> The advantage is a smaller computational model. There is less to learn
> about StarLogo in order to read or write programs.

I think that if you understand the idea of an agent variable, that
learning the concept of a patch variable is a freebie.

> Your question that
> started this thread about what a patch variable is would never have
> arisen in a StarLogo which used (immobile) agents instead of patches.

it also wouldn't have arisen if the documentation on patch vars had just
one more line in it stating exactly what Eric stated this morning. That
it's a variable for the 'patches' of ground. As soon as he set this
pointer, everything was clear.

> the patch. By the way, if buildings are agents are mountains as well?

Mountains and valleys are patches with a non-zero height and smoothly
joined to their neighbor patch.

> My
> view is that everything is an agent.

everything IS just an agent, including YOU and THIS. The real question
is, what are we going to do about all the invisible people?! ;-)

-j



More information about the starlogo-users mailing list