tests/pass/hello.lua

Wed, 24 Nov 2010 02:52:37 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 24 Nov 2010 02:52:37 +0000
changeset 138
f9bb0e212d28
parent 57
3e148db7f933
permissions
-rw-r--r--

Replace error reporting code with calls to LVM.traceback()

local a, b = "One", "Deux";

function pp()
	local _b = b;
	a = "Une"
	local c = "Trois!";
	local function b()
		return a, _b, c;
	end
	return b;
end

print(pp()())

print(a)

mercurial