Difference between revisions of "User:Pk"

Line 3: Line 3:
 
<source lang="lua">
 
<source lang="lua">
 
-- This is only a test.
 
-- This is only a test.
 +
 
local s = 'string'
 
local s = 'string'
 
local n = 1.0
 
local n = 1.0
 
local b = true
 
local b = true
 +
 +
if b then getmetatable(obj) end
 +
 
assert(b)
 
assert(b)
 +
 
function f(x)
 
function f(x)
 
   return x + 1
 
   return x + 1
 
end
 
end
 
</source>
 
</source>

Revision as of 19:59, 4 October 2012

Text Text Text!!!

-- This is only a test.

local s = 'string'
local n = 1.0
local b = true

if b then getmetatable(obj) end

assert(b)

function f(x)
  return x + 1
end