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 
testing presence of ML feature
Author Message
Juergen
Member
***


Posts: 81
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #1
RE: testing presence of ML feature

I think you are looking for something like that:

Code:
do
  local iter=string.gmatch(murgaLua.version,"%d+")
  local major,minor,sub=tonumber(iter()),tonumber(iter()),tonumber(iter())
  if minor<=5 and sub<=5 then print"You must use a murgaLua version > 0.5.5" os.exit(1) end
end


Juergen

02-07-2008 06:54 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
testing presence of ML feature - mikshaw - 01-20-2008, 05:37 AM
RE: testing presence of ML feature - Juergen - 02-07-2008 06:54 AM

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

Forum Jump: