(no title)
draegtun | 3 years ago
However there are some differences...
loop 10 [
print "hello" ;; prints "hello" 10 times
]
repeat n 10 [
print n ;; prints 1 to 10
]
forever [
print "hello" ;; print "hello" forever!
]
arturo-lang|3 years ago
As for looping...
The same works for pretty much every function in the Iterators module: map, select, filter, etc :)https://arturo-lang.io/documentation/library/iterators/