run time error

14 views
Skip to first unread message

maria khattak

unread,
May 14, 2019, 5:13:42 AM5/14/19
to netlogo-devel
When i run my simulation in net logo i got this error.How can i solve this error?


WITH expected a true/false value from (patch -20 20), but got 0 instead.
error while patch 4 -11 running WITH
  called by procedure INSIDE
  called by procedure SETUP-PATCHES
  called by Button 'Setup'

Jeremy Baker

unread,
May 14, 2019, 9:47:13 AM5/14/19
to netlogo-devel
Maria,

This is a forums for questions about NetLogo development, extensions, and related topics.  For general coding questions, I recommend you try the NetLogo users mailing list instead:  https://groups.google.com/forum/#!forum/netlogo-users

You'll need to include more of your code when you post there for people to help you.  There is likely a small error in your `with` usage.

-Jeremy
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages