title: Defining a Variable
body: <p>I am very very new to coding. I'm trying to write up a code for a game called "Heroes and Cowards" (though it goes by many other names). The book gives me this code for the setup procedure, but netlogo keeps asking me to define number, and I don't know where to do that. I need to be able to make the variable number into a slider on the interface. </p>
  
  <p>The book says to write this as code:</p>
  
  <p><a href="https://i.stack.imgur.com/Z4rWB.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>Can anyone help me out? I understand it maybe obvious. I've just hit a newbie road block.
  Thanks!</p>