There are three basic styles of loops you can use, the first is the counting loop, the second is the continuously evaluating loop, and the third is the endless loop. The counting loop goes through the loop a certain predetermined number of times. The endless loop executes forever, it's the kind we don't want to write in our lisp programs. AutoLISP gives us some basic looping functions which are quite usefull, and as with everything else in lisp if we don't like what they gave us we can write our own. Evaluates each expression a given number of times.
Number represents any positive integer.
The repeat function evaluates an expression or expressions a given number of times. It's a pretty basic concept and doesn't really need a whole lot of explanation. If you know how many times you want your loop to execute the repeat loop is the one you want to use. The thing that limits the use of the repeat function is there are not many times you know how many times your going to need to go through the loop. Watch for the times you do know before hand, because repeat would be the cleanest way to deal with it.