Tutorial #3: Procedures
NetLogo 6.1.0 User Manual