More actions
Ttenbergen (talk | contribs) Created page with "local p = {} -- this is a commen --a multi line comment function p.getAuthor( frame ) --if frame.args[1] == nil return p.testParameters(frame.args[1]) end function p.testParameters( myParameter ) local myOutput if myParameter == nil then myOutput = "it was empty" else myOutput = "parameter was:"..myParameter end return myOutput end return p" |
Ttenbergen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
-- this is a | -- this is a comment | ||
-- more comments | |||
--[[a multi | --[[a multi | ||
line comment]] | line comment]] |
Revision as of 19:19, 2024 April 25
This is just a module to test Scribunto/loa
local p = {}
-- this is a comment
-- more comments
--[[a multi
line comment]]
function p.getAuthor( frame )
--if frame.args[1] == nil
return p.testParameters(frame.args[1])
end
function p.testParameters( myParameter )
local myOutput
if myParameter == nil then
myOutput = "it was empty"
else
myOutput = "parameter was:"..myParameter
end
return myOutput
end
return p