Module:Args: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
don't try to parse values to numbers because a module might be expecting a string and the input just happens to be a number
(add values() function to unwrap a particular node)
(don't try to parse values to numbers because a module might be expecting a string and the input just happens to be a number)
Line 39: Line 39:
     insertInto( tbl[myKey], rest, value )
     insertInto( tbl[myKey], rest, value )
   else -- this is a leaf so set value
   else -- this is a leaf so set value
     tbl[myKey].__value = tonumber( value ) or value
     tbl[myKey].__value = value
   end
   end
end
end

Navigation menu