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

28 lines
421 B
Plaintext
Raw Normal View History

2022-03-12 18:09:07 +01:00
2022-03-17 23:13:55 +01:00
func my_func(a, b, c, d, e, f, g, h) begin
2022-03-12 18:09:07 +01:00
var i, j, k, l, m
i := a + b + d
if i = f then begin
print "hmmm"
end
2022-03-13 20:19:39 +01:00
if 1 = 1 then begin
print "true"
end
if 1 = 2 then begin
print "false"
end
if 1 < 2 then begin
print "true"
end
2022-03-12 18:09:07 +01:00
end
func main() begin
var n, o, p, q, r, s, t, u, v, w
n := 5
2022-03-12 19:22:14 +01:00
n += my_func(1, 2, 3, 5, 8, 13, 21, w)
2022-03-12 18:09:07 +01:00
end