Evaluates each expression a specified number of times, and returns the value of the last expression
(repeat int [expr...])
Arguments
An integer. Must be a positive number.
One or more atoms or expressions.
Return Values
repeat returns nil.
The value of the last expression or atom evaluated. If expr is not supplied,Examples
Command: (setq a 10 b 100)
100
Command: (repeat 4 (setq a (+ a 10)) (setq b (+ b 100)))
500
a is 50, b is 500, and repeat returns 500.
After evaluation,repeat returns the last string:
If strings are supplied as arguments,Command: (repeat 100 "Me" "You")
"You"