79118309

Date: 2024-10-23 14:18:30
Score: 1
Natty:
Report link

When you create a switch or other widget on the Interface, NetLogo uses that to define a global variable with the same name. Therefore, when you define the variable as a global in your code, it is a redundant definition. Thus the error you are getting.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • High reputation (-1):
Posted by: Charles