aboutsummaryrefslogtreecommitdiff
path: root/greet.ell
blob: a84463c49b93747c9f41f0f306ce1cfafb0ab658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Decrement variable passed by name
set decr {
	set @1 (- @@1 1)
}

set limit 2
for (map { .. @1 ! } [
	world
	creator
	'darkness, my old friend'
]) {
	{ print 'hello ' @1 '\n' } @1
	if (= 0 (decr limit)) { break }
}