vig/examples/hello.v
2019-08-25 23:16:13 -03:00

37 lines
359 B
V

const (
Cock = 1
Ball = 2 + 3
Deals = 3
Businesses = 4
)
fn main(a int) int {
1 + 2 + 3 + 4
1 + 1 * 1
3 / (51 + 2)
mut a := 1+2
a = 2
if a {
println(30)
} else {
println(50)
}
a && b
a || b
loop {}
loop {
println('Ballse')
}
loop a > 2 {}
loop a > 2 {
println('skirts')
}
cock_and_ball_torture('cbt', 1, 2, 3)
return 23
}