Hello, you have come here looking for the meaning of the word
Module:User:Equinox/LuaTest. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:User:Equinox/LuaTest, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:User:Equinox/LuaTest in singular and plural. Everything you need to know about the word
Module:User:Equinox/LuaTest you have here. The definition of the word
Module:User:Equinox/LuaTest will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:User:Equinox/LuaTest, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
-- testing: from: https://www.mediawiki.orghttps://dictious.com/en/Extension:Scribunto/Lua_reference_manual
-- see also: https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:Grease_pit/2018/August#Lua
local p = {} -- p stands for package
function p.hello( frame )
return "Hello, world! I hate you, is this going to be like Linux all over again"
end
function p.returnNonString( frame )
return 4
end
function p.dontReturnAnything( frame )
end
function p.myFirstLuaLoopEver( frame )
x = 0
for i=-7,39,4 do x = x + i end
return x
end
function p.zeroDivide( frame )
return 9/0
end
function p.throw( frame )
error("L Break into program, 0:1")
end
function p.catch( frame )
if pcall(p.throw(frame)) then
return 0
else
return "you dun goofed boyo"
end
end
function p.infiniteRecurse( frame )
return p.infiniteRecurse(frame)
end
function p.grabEntry( frame )
return mw.title.new("hagberry"):getContent()
end
return p