Difference between revisions of "Module:TNT"

42 bytes removed ,  00:17, 12 January 2017
no edit summary
>Yurik
(implement p.doc)
>Yurik
Line 67: Line 67:
local params = {}
local params = {}
local paramOrder = {}
local paramOrder = {}
local index = 1
     for _, row in pairs(data.data) do
     for _, row in pairs(data.data) do
     local newVal = {}
     local newVal = {}
Line 81: Line 80:
     if name then
     if name then
     params[name] = newVal
     params[name] = newVal
     table.insert(paramOrder, index)
     table.insert(paramOrder, name)
    index = index + 1
     end
     end
     end
     end
Anonymous user