lua-users home
lua-l archive

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


hi
i am new to lua. i have a query related to table reading from file.
i have a config file in lua table format:
example:
return {
    ["param1"] = {
        ["attribute"] = {
            ["myparam"] = 1,
        }
   },
   ["param2"] = 1
}

could you please let me know how do i read this file and access my config file parameters ?
Thanks