lama_byterun/regression/test062.lama

22 lines
248 B
Text
Raw Normal View History

fun a (x, y) {
local a = x + y, b = x - y;
{
local f = fun () {
write (x);
write (y);
write (a);
write (b)
};
a := 100;
b := 200;
x := 800;
y := 1000;
return f
}
}
2019-10-16 21:07:27 +03:00
local x = read ();
a (5, 7) ()