lua-users home
lua-l archive

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


Hi,

I want to test if a specific file exist, and do something if yes. Like

if <file exist> then
  <do something>
else
  <do something else>
end

How do I do that?

Thanks!
Nathan
-- 
View this message in context: http://www.nabble.com/How-do-I-test-for-the-existens-of-a-file-tp20147657p20147657.html
Sent from the Lua - General mailing list archive at Nabble.com.