Reputation: 165
Is there any way to throw errors as pop uos in netlogo . Say, i have two buttons, if i am pressing the second one without clicking one the first one to setup the system then I should get an error in the pop up saying you cant run without pressing the first button.
Upvotes: 0
Views: 66
Reputation: 12580
There sure is! Check out error. You use it like so:
error "Something went terribly wrong!"
Upvotes: 1