Tutorial #3: Procedures
NetLogo 6.1.1 User Manual