file.find returns two tables
🌙 Lua•Updated 2 days ago•0 views
file.find("*") returns TWO tables - one of files, one of directories (both relative to sf_filedata). Assign both: local files, dirs = file.find("*").
How to list files/directories with file.find - what's the return value
file.find("*") returns TWO tables - one of files, one of directories (both relative to sf_filedata). Assign both: local files, dirs = file.find("*").