NetLogo / LevelSpace

This is the LevelSpace extension repository. LevelSpace allows you to run NetLogo models |: from inside NetLogo models :|
Other
19 stars 8 forks source link

Defining a local in a repeat causes an error #116

Closed qiemem closed 6 years ago

qiemem commented 6 years ago
repeat 10 [ ls:let foo 0 ls:ask 0 [ show foo ] ]

gives

Extension exception: Model 0 (Wolf Sheep Predation - Internal Simulation.nlogo) encountered an error: There is already a local variable here called FOO
error while observer running LS:ASK
  called by Command Center