repeat

repeat number [ commands ]

Runs commands number times.

     
 pd repeat 36 [ fd 1 rt 10 ]     
 ;; the turtle draws a circle    
 

Take me to the full NetLogo Dictionary