Jump to content

Module:User:Doc Taxon/Hello

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Doc Taxon (talk | contribs) at 14:58, 12 October 2015 (Created page with 'local p = {} function p.hello(frame) local name = frame.args[1] if not name then name = 'World' end i = 1 u = {} repeat u...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local p = {} 
function p.hello(frame)
    local name = frame.args[1]
    if not name then 
        name = 'World' 
    end
    i = 1
    u = {}
    repeat
    	u = u .. 'Hello' .. name .. '! This is Lua!' 
    	i = i + 1
    until i > 5
    return u
end 
return p