logo       

luafs fileinfo: msg#00011

lang.lua.luacheia

Subject: luafs fileinfo

Hello All,

After runing a test script in luacheia (installed from luacheia5-win32-5.0.1a5.exe on Windows XP) I get the following output:

dummy: No such file or directory
dummy file not found

How can I hide this "dummy: No such file or directory" message?
The source of test script is here:

cheia.loadmodule("fs")
if fs.fileinfo("dummy") then
print("dummy file found")
else
print("dummy file not found")
end




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise