mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Too many issues with predefining exported variables, and this is more flexible.
28 lines
No EOL
108 B
Text
28 lines
No EOL
108 B
Text
:$ f
|
|
:a = 1
|
|
|
|
|{a}
|
|
|
|
a = a + 1
|
|
|
|
:$ g
|
|
|{a}
|
|
|
|
a = a + 1
|
|
g.:a = 1
|
|
|
|
|local:
|
|
|
|
f!
|
|
|
|
f!
|
|
|
|
f!
|
|
|
|
|upvalue:
|
|
|
|
g!
|
|
|
|
g!
|
|
|
|
g! |