An introduction to repeat statements
Of all of the loops in Grace, repeat statements are the most straight-forward. Repeats allow you to repeat a block of code a pre-determined number of times. For example:
repeat 5 times {
print "This will happen five times."
}