Jump to content

Module:Sandbox/Retro: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
It's a start...
 
Let's get cracking with the 'ol "Hello, world!".
Line 1: Line 1:
--A LUA comment, unlike the comments of C++ and Java (which use "//" and "/* */"); and html (which uses "<!-- -->")
--A LUA comment, unlike the comments of C++ and Java (which use "//" and "/* */"); and html (which uses "<!-- -->")
local p = {} -- p stands for package

function p.hello( frame )
return "Hello, world!"
end

return p

Revision as of 22:21, 9 May 2019

--A LUA comment, unlike the comments of C++ and Java (which use "//" and "/* */"); and html (which uses "<!-- -->")
local p = {} -- p stands for package

function p.hello( frame )
    return "Hello, world!"
end

return p