Comment on page
Repeat
The
repeat
command executes a code block a finite number of times
or every n
seconds
.Here, you can find an example using
times
:repeat 3 times:
print 1
end
Output:
> 1
> 1
> 1
Here, another example using
seconds
:repeat every 1 seconds:
print 1
end
Output:
> 1
(1s)
> 1
...
Last modified 1yr ago