lua-users home
lua-l archive

Re: Checking for a writeable or readable file

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


On 23/10/2012, at 10:41 PM, Konstantinos Asimakis <inshame@gmail.com> wrote:
> If you find no other solution, you could wrap io.open to make it store the open type in a table like this:
I was kind of hoping for another solution but I haven't found one, so I'm warming to this idea. Thanks! Since the code I'm writing is designed to be called on the command line (i.e. lua -llib script.lua) I get in early enough to do this effectively.

AltStyle によって変換されたページ (->オリジナル) /