NetLogo 7.0.1:

user-input1.1

user-input value (user-input value default-value) 7.0

Reports the string that a user types into an entry field in a dialog with title value. You can optionally provide a default-value that the entry field will be preset with when it is displayed.

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

show user-input "What is your name?"

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

Take me to the full NetLogo Dictionary