Tutorial #3: Procedures
NetLogo 6.2.2 User Manual