mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
19 lines
154 B
Plaintext
19 lines
154 B
Plaintext
|
if true {
|
||
|
println('foo')
|
||
|
}
|
||
|
for i := 0; i < 4; i++ {
|
||
|
println(i)
|
||
|
}
|
||
|
if false {
|
||
|
println('foo')
|
||
|
} else {
|
||
|
println('bar')
|
||
|
}
|
||
|
===output===
|
||
|
foo
|
||
|
0
|
||
|
1
|
||
|
2
|
||
|
3
|
||
|
bar
|