ell/greet.ell

15 lines
217 B
Plaintext
Raw Normal View History

2017-06-20 16:22:04 +02:00
# Decrement variable passed by name
set decr {
set @1 (- @@1 1)
}
set limit 2
for (map { .. @1 ! } [
2017-05-21 00:23:51 +02:00
world
creator
'darkness, my old friend'
2017-05-21 00:23:51 +02:00
]) {
{ print 'hello ' @1 '\n' } @1
if (= 0 (decr limit)) { break }
2017-05-21 00:23:51 +02:00
}