[Problem] Love.filesystem.enumerate() doesnt work!
Posted: Tue Mar 20, 2012 5:10 pm
Hey, I just started on a filesystem program, and i alreaddy have a problem;
I get this error:
Traceback:
[C]: In function Enumerate
main.lua:8 in function 'draw'
[C]: in function 'XPcall'
Main.lua is my online file, and config.lua (Wich is basic)
I get this error:
Traceback:
[C]: In function Enumerate
main.lua:8 in function 'draw'
[C]: in function 'XPcall'
Main.lua is my online file, and config.lua (Wich is basic)
Code: Select all
function love.load()
end
function love.draw()
dirWorking = love.filesystem.getWorkingDirectory()
love.graphics.print(dirWorking, 100,100)
files = love.filesystem.enumerate()
print(files)
end
function love.update(dt)
end
function love.focus(bool)
end
function love.keypressed( key, unicode )
end
function love.keyreleased( key, unicode )
end
function love.mousepressed( x, y, button )
end
function love.mousereleased( x, y, button )
end
function love.quit()
end