Module:User:Joshbaumgartner/sandbox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Lua
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules

Code

local p = {} -- p stands for package
local hello = "Hello, world!"

function p.hello( frame )
    return hello
end

function p.vtype(frame)
	local hellotype = type(hello)
	return hellotype
end

return p