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 On Tuesday, May 14, 2019 at 4:13:42 AM UTC-5, maria khattak wrote: > > 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' > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/28f2b134-3dcd-4616-8045-e7efb89c36c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.