lama_byterun/regression/test094.expr

22 lines
242 B
Text
Raw Normal View History

2020-01-05 03:33:17 +03:00
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;
f
}
}
local x = read ();
a (5, 7) ()