lama_byterun/regression/test094.lama

22 lines
236 B
Text
Raw Permalink Normal View History

2020-01-05 03:33:17 +03:00
fun a (x, y) {
var a = x + y, b = x - y;
(
var f = fun () {
2020-01-05 03:33:17 +03:00
write (x);
write (y);
write (a);
write (b)
};
a := 100;
b := 200;
x := 800;
y := 1000;
f
)
2020-01-05 03:33:17 +03:00
}
var x = read ();
2020-01-05 03:33:17 +03:00
a (5, 7) ()