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 
New murgaLua 0.5.5 release !!
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: New murgaLua 0.5.5 release !!

I just stumbled on this a moment ago.
MurgaLua doesn't have an internal version number, as in some way to get the murgaLua version from within murgaLua. If I'm wrong and it does now have this, it didn't before so it won't be of much use until no one uses previous versions anymore.

So anyway, to my point....

You can check for murgaLua version 0.5.5 and newer from a script without causing troubles for older versions by checking for one of the libraries added to 0.5.5. lua filesystem, for example:

if package.loaded["lfs"] then
  do some lfs.* stuff
  do some murgaLua.* stuff

This allows you to use both lfs.* and murgaLua.* for file handling in the same script, so the end user does not have to have a particular version of murgaLua or a particular version of a script.

09-06-2007 07:30 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
New murgaLua 0.5.5 release !! - JohnMurga - 07-31-2007, 06:02 AM
RE: New murgaLua 0.5.5 release !! - chrimo - 07-31-2007, 07:57 AM
RE: New murgaLua 0.5.5 release !! - chrimo - 07-31-2007, 07:48 PM
RE: New murgaLua 0.5.5 release !! - mikshaw - 09-06-2007 07:30 AM

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

Forum Jump: