mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 20:50:55 +08:00
14 lines
173 B
Plaintext
14 lines
173 B
Plaintext
![]() |
|
||
|
def one_call()
|
||
|
assert(g_2 == null) ## second import cannot run this.
|
||
|
return get_a_value()
|
||
|
end
|
||
|
|
||
|
def get_a_value()
|
||
|
return "foobar"
|
||
|
end
|
||
|
|
||
|
g_1 = 1 + 2
|
||
|
g_2 = one_call()
|
||
|
|