4 lines
94 B
Text
4 lines
94 B
Text
var vec = [1,2,3,4]
|
|
foreach v vec { // you can also use an optional 'in'
|
|
println (v)
|
|
}
|