Init PS3
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
func main() begin
|
||||
var a
|
||||
a := 1 + 2 + 4 + 5 + 6 + 7 + 8 + 9
|
||||
b := (10 + 10 * 4) * (2 + 2 * (1 + 1)) / 10 + 2 * 5 + 6 / 3
|
||||
|
||||
if a = b then
|
||||
print "The answer is", b
|
||||
end
|
||||
16
exercises/03/vslc/vsl_programs/ps3-simplify/lists.vsl
Normal file
16
exercises/03/vslc/vsl_programs/ps3-simplify/lists.vsl
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
func my_fun(a, b, c, d, e, f, g, h) begin
|
||||
var i, j, k, l, m
|
||||
|
||||
i := a + b + d
|
||||
|
||||
if i = f then begin
|
||||
print "hmmm"
|
||||
end
|
||||
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)
|
||||
end
|
||||
Reference in New Issue
Block a user