Tutorial #3: Procedures
NetLogo 6.4.0 User Manual