tests/pass/hello.lua

Sat, 21 Sep 2013 14:31:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 21 Sep 2013 14:31:22 +0100
changeset 143
a689e0187ef5
parent 57
3e148db7f933
permissions
-rw-r--r--

Fix math.frexp() and add more tests (thanks Florob, Link Mauve, xnyhps)

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