Functions as values (no closures yet, and no tests)

This commit is contained in:
Dmitry Boulytchev 2019-09-22 20:15:15 +03:00
parent f5b802ebed
commit d69cb3d49d
12 changed files with 194 additions and 160 deletions

View file

@ -1,6 +1,3 @@
global x, y, z;
global x = read (), y = read (), z = x * y * 3;
x := read ();
y := read ();
z := x*y*3;
write (z)