All pastes #182815 Raw Edit

daurn

public text v1 · immutable
#182815 ·published 2006-09-26 11:35 UTC
rendered paste body
function recurse (dir)
	dl = {}
	i = 0
	alltagsinadir(dir)
	i = i - 1
end
function alltagsinadir(dir)
	i = i + 1
	dl[i] = fs.dir(dir)
	for j=2,#(dl[i]) do
		if dl[i][j].dir then
			--alltagsinadir(dir.."/"..dl[i][j].name)
			
		else print(dl[i][j].name)
		end
	end
	i = i - 1
end