Does Corona support Lua 5.2?

Based on the module handling examples I’ve seen (e.g. “seeall”), I’m guessing 5.2 isn’t supported yet? Or are those just outdated?

You don’t need the package() API call to build a module any more.  It’s still supported for backward compatibility.

[lua]

local M = {}

M.someValue = “someData”

function M.someFunction(params)

   …

end

return M

[/lua]

is the standard that people are using now.

You don’t need the package() API call to build a module any more.  It’s still supported for backward compatibility.

[lua]

local M = {}

M.someValue = “someData”

function M.someFunction(params)

   …

end

return M

[/lua]

is the standard that people are using now.