cl-dotimes

cl-dotimes is an autoloaded Lisp macro in `cl-macs.el'.

(cl-dotimes (VAR COUNT [RESULT]) BODY...)

Loop a certain number of times.
Evaluate BODY with VAR bound to successive integers from 0, inclusive,
to COUNT, exclusive. Then evaluate RESULT to get return value, default
nil.