CTCCoco Posted February 19, 2010 Share Posted February 19, 2010 password ~= "" and password ~= nil what means ~= ? and nil? Thanks for all. Link to comment
norby89 Posted February 19, 2010 Share Posted February 19, 2010 That checks if the password is not an empty string and that it's not nil, meaning it has some sort of a value. ~= - 'not equal to' == - 'equal to' nil - nothing, void, no value Maybe you should read the introduction part in the lua manual to get familiar with the language. http://www.lua.org/manual/5.1/manual.html Link to comment
CTCCoco Posted February 19, 2010 Author Share Posted February 19, 2010 That checks if the password is not an empty string and that it's not nil, meaning it has some sort of a value.~= - 'not equal to' == - 'equal to' nil - nothing, void, no value Maybe you should read the introduction part in the lua manual to get familiar with the language. http://www.lua.org/manual/5.1/manual.html Thansk for the help and for the manual! It is very usefull. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now