mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-26 16:48:46 +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,11 +1,11 @@
|
|||
global i, s, j;
|
||||
global i, s;
|
||||
|
||||
i := 0;
|
||||
s := 0;
|
||||
|
||||
while i < 100
|
||||
do
|
||||
j := 0;
|
||||
local j = 0;
|
||||
|
||||
while j < 100
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue