TDT4205/exercises/05/vslc/vsl_programs/ps2-parser/function_call.vsl

10 lines
111 B
Plaintext

func add(a, b) begin
a := -a
return a + b
end
func main()
begin
print add(40, 2)
return 0
end