Module:Documentation: Difference between revisions

Jump to navigation Jump to search
Enwikipedia>Paine Ellsworth
m sp.
Enwikipedia>Paine Ellsworth
m Undid revision 908430596 by Paine Ellsworth (talk) srv - mybad
Line 189: Line 189:
local success, val = pcall(envFunc)
local success, val = pcall(envFunc)
if success then
if success then
env[key] = val -- Memorise the value.
env[key] = val -- Memoise the value.
return val
return val
end
end