ls:assign
ls:assign model-or-list-of-models global-variable value
Sets the given global variable in child model to given value. For instance
ls:assign ls:models glob1 count turtles
sets the global variable glob1
in all models to the parent’s model count turtles
.
Take me to the full LevelSpace Extension Dictionary