Board Thread:Questions and Answers/@comment-108.167.76.121-20130526125551/@comment-86.83.130.10-20130531150736

http://lua.gts-stolberg.de/en/schleifen.php

If the turtle accepts LUA command, a for loop would do it