tests/pass/hello.lua

Wed, 24 Nov 2010 02:53:15 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 24 Nov 2010 02:53:15 +0000
changeset 139
055fe658d0b2
parent 57
3e148db7f933
permissions
-rw-r--r--

Implement string.find (mostly) and string.sub

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