lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thank you for your remark.

I changed tbl to a local parameter. I still have the problem with indexing though.

--
Hür Bütün
PhD student 

École Polytechnique Fédérale de Lausanne (EPFL) 
Industrial Process and Energy Systems Engineering (IPESE) 

EPFL Valais Wallis 
SCI-STI-FM
Rue de l'Industrie 17 
Case Postale 440, CH-1951 Sion 
tel:+41 21 69 58252

2016-10-15 23:22 GMT+02:00 rexonf <rexonf@gmail.com>:

Have not run your code, but you might want to change 'tbl = {}' to 'local tbl = {}'. As of now all variables bound to a return value of :format will refer to a single global table.