lua-users home
lua-l archive

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


Alex Sandro Queiroz e Silva wrote:
[...]
Just one thing, though. Can I suggest that Lua *must* provide a directory listing function as part of its core functionality?

You don't have to go back further than a week in the archives to read about this... :-)

The short summary is that you can't, because there's no standard way of doing it that's truly portable across all platforms. And, 'all platforms' includes weird and wacky embedded systems that don't support any IO.

Let me put it like this: do you use /, \, :, . or <other> to seperate path elements?

--
David Given
dg@cowlark.com