remove compiled versions of test files

This commit is contained in:
James Roseborough
2007-12-06 21:14:44 +00:00
parent a6f46413c0
commit edd8bc33ea
31 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,7 @@
math = nil math = nil
local function autoload(table, key) local function autoload(table, key)
local chunk = loadfile(key..".luac") local pkg = require(key)
local pkg = chunk()
table[key] = pkg table[key] = pkg
return pkg return pkg
end end
@@ -13,4 +12,4 @@ setmetatable(_G, { __index = autoload } )
-- local result = math.sqrt(9.0) -- local result = math.sqrt(9.0)
-- print("x=", result) -- print("x=", result)
print("square root of 9.0 is ", math.sqrt(9.0)) print("square root of 9.0 is ", math.sqrt(9.0))
print("math.pi=", math.pi); print("square root of 4.0 is ", math.sqrt(4.0))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.