「Module:Sandbox/Star0/1」:修訂間差異

增加 31 位元組 、​ 2022年7月27日 (星期三)
無編輯摘要
無編輯摘要
無編輯摘要
行 22: 行 22:
local c
local c


function p.test()
function p.test(key)
if c==nil then return '无值' end
if key==true then c = 2 end
c = 2
if c==nil then return '无值' else return '有值' end
return '有值'
end
end


return p
return p