BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping construc...
[boo.git] / tests / testcases / integration / statements / for_then-1.boo
blob768fe7650c51561dc591eb0b243603c03b7e9fe3
1 """
2 We made it!
3 foo
4 """
6 breaker = "none"
8 t = ("boo", "bar", "baz", "foo")
10 for item in t:
11 found = item
12 if item.Equals(breaker):
13 break
14 then:
15 print "We made it!"
17 print found