Module:Documentation: Difference between revisions

m
Undid revision 908430596 by Paine Ellsworth (talk) srv - mybad
m (sp.)
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