Hi List,
I am trying to program with Lua but there are concepts I must not understand,
and the documentation is somewhat lacking.
The only useful thing I could use is Hans' manual, thanks to him.
If someone could help me just understanding the concept I must me missing in
this simple example I
Hi Mathieu,
On 2012-01-27 19:06, Mathieu Dupont wrote:
Hi List,
Running the following code, variable a should not be modified
by my function, and stay (1,2), but it does get modified and
becomes (4,2) like the new variable b I am creating.
Tables are references. Using the “local” keyword,
Great, thank you very much Philipp.
I will also read this page you pointed and I should understand better Lua then.
http://wiki.contextgarden.net/table_manipulation
Mathieu