9 lines
145 B
Lua
9 lines
145 B
Lua
|
|
||
|
function getInput(filename)
|
||
|
local file = io.open(filename, "r")
|
||
|
io.input(file)
|
||
|
local content = io.read()
|
||
|
io.close(file)
|
||
|
return content
|
||
|
end
|