Task

Write a procedure which accepts as arguments another procedure and a positive integer.

The latter procedure is executed a number of times equal to the accepted integer.




rep "answer",3
 
command rep x,n
    repeat n times
        do merge("[[x]] [[n]]")
    end repeat
end rep