[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Checking for a writeable or readable file
- From: Geoff Leyland <geoff_leyland@...>
- Date: Wed, 24 Oct 2012 06:44:04 +1300
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.