mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-27 09:08:48 +00:00
Functions as values (no closures yet, and no tests)
This commit is contained in:
parent
f5b802ebed
commit
d69cb3d49d
12 changed files with 194 additions and 160 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue