TDT4205/exercises/05/vslc/vsl_programs/ps3-simplify/lists.vsl

22 lines
321 B
Plaintext
Raw Normal View History

2022-03-31 21:23:57 +02:00
func my_func(a, b, c, d, e, f, g, h) begin
var i, j, k, l, m
2022-04-03 22:40:33 +02:00
i := a + ~(i + 4)
i := a + (b + d) * (3 + b)
2022-03-31 21:23:57 +02:00
if i = f then begin
print "hmmm"
end
return i
end
func main() begin
var n, o, p, q, r, s, t, u, v, w
n := 5
n += my_func(1, 2, 3, 5, 8, 13, 21, 34)
return 0
end