[starlogo-users] Output window
Kent Paul Dolan
xanthian at well.com
Tue Mar 22 01:21:49 EST 2005
I'm not where I can test this, so sorry if it
is bad advice, but...
1) Most starlogo verbs take a fixed number of
arguments if undecorated by helper punctuation,
which makes sense since starlogo doesn't have
command separators. Still, some starlogo verbs
_will_ take variable numbers of inputs if you let
them know where the list of arguments ends, by
wrapping verb + set of verb's intended variables in
delimiting parentheses. See if:
( type "strength: " strength )
does what you want.
2) Your (commented out) "report" is in the "to go"
procedure, which is indeed executed once per turtle
per time step. You almost certainly don't want that
except when debugging. Any reporting should probably
be done from the observer scripts rather than from
the turtle scripts, since the single observer gets
triggered just once per time step. Past that small
insight, I can't help.
xanthian.
More information about the starlogo-users
mailing list