News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
best way to list filenames in Lua?
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: best way to list filenames in Lua?

Although I was hoping that the script could also work with Lua proper, this is definitely a better solution than popen. I was just pushing hard to avoid anything outside of pure Lua in this case.

However, I'm already using murgaLua.isDirectory() in the script, which I had planned to *eventually* convert to pure Lua code. The more I think about it, the more I wonder...if you wrote this function for murgaLua there must have been a reason for it, just like for murgaLua.readDirectory(). Perhaps a directory test in pure Lua is just as much work as a directory list.

I guess I'll stick with pure murgaLua =o)


This post was last modified: 06-08-2007 01:36 AM by mikshaw.

06-08-2007 01:35 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: best way to list filenames in Lua? - mikshaw - 06-08-2007 01:35 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: