retell
Description
The retell code block evokes the experience of retelling a story—it comes out slightly differently each time.
Syntax
retell (exact, upto: max) {
// statements
}
where exact is an exact number of times that the statements should be run; or, alternatively, the statements should repeat a random number of times, up to max times.
Usage
retell (upto: 5) {
// statements
}
This carries out the statements inside the code block a random number of times, up to 5 times.