lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I knocked up the following code, which has a similar interface to your
original code: http://pastebin.com/chftGw7w

On Mon, Jun 6, 2011 at 2:47 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> 2011/6/6 Attila <ejjeliorjarat@gmail.com>:
>> mechanism, I used alien to iterate through a directory's files (I don't like
>> os.execute with DIR/LS command, because it flashes the shell, and that's an
>> ugly solution I think).
>
> Why not just use LuaFileSystem?  There _might_ be case where it's too
> slow for the job, but you would have to push the file system hard to
> find that case ;)
>
> steve d.
>
>