mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
22 lines
242 B
Text
22 lines
242 B
Text
|
|
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) ()
|