NetLogo Help: user-yes-or-no?

### user-yes-or-no?2.0

#### user-yes-or-no? value

Reports true or false based on the user's response to value.

value may be of any type, but is typically a string.

    if user-yes-or-no? "Set up the model?"
      [ setup ]

Note: This primitive is not compatible with NetLogo Web. If you wish to read a true or false value from the user with the same code and the same behavior in both NetLogo and NetLogo Web, see dialog:user-yes-or-no?.

See the User Interaction Primitives section of the Programming Guide for additional details.

Take me to the full NetLogo Dictionary