summaryrefslogtreecommitdiff
path: root/test/files/run/t5583.check
blob: 39b969fbe713ec8948df9c1e74a912237635456f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

scala> var s = 0
s: Int = 0

scala> for (i <- 1 to 10) {s += i}

scala> for (i <- 1 to 10) {s += i}

scala> for (i <- 1 to 10) {s += i}

scala> println(s)
165

scala> 

scala>