user3369125
user3369125

Reputation: 165

How to define PopUp style errors in netLogo

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

Answers (1)

Bryan Head
Bryan Head

Reputation: 12580

There sure is! Check out error. You use it like so:

error "Something went terribly wrong!"

Upvotes: 1

Related Questions