Wed, 24 Nov 2010 02:53:15 +0000
Implement string.find (mostly) and string.sub
57 | 1 | local a, b = "One", "Deux"; |
2 | ||
3 | function pp() | |
4 | local _b = b; | |
5 | a = "Une" | |
6 | local c = "Trois!"; | |
7 | local function b() | |
8 | return a, _b, c; | |
9 | end | |
10 | return b; | |
11 | end | |
12 | ||
13 | print(pp()()) | |
14 | ||
15 | print(a) |