TDT4205/exercises/06/vslc/vsl_programs/ps2-parser/assignments.vsl

14 lines
187 B
Plaintext
Raw Normal View History

2022-04-10 15:55:56 +02:00
// checking that comments are ignored
// This program checks the assignment operators
func main()
begin
var a
a := 3
a += 1
a /= 2
a *= 32
a -= 2
print a
end