repo.or.cz
/
boo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping construc...
[boo.git]
/
tests
/
testcases
/
integration
/
statements
/
for_then-1.boo
blob
768fe7650c51561dc591eb0b243603c03b7e9fe3
1
"""
2
We made it!
3
foo
4
"""
5
6
breaker
=
"none"
7
8
t
= (
"boo"
,
"bar"
,
"baz"
,
"foo"
)
9
10
for
item
in
t
:
11
found
=
item
12
if
item
.
Equals
(
breaker
):
13
break
14
then
:
15
print
"We made it!"
16
17
print
found