Charlie_Jefferson Posted April 16, 2012 Share Posted April 16, 2012 Hai, There was a thing that would be used in if statements, like If blah blah =/ false(isn't false) then do blah blah, but I'm not sure how it was. I'm pretty sure it wasn't =/. It's the opposite of ==. Link to comment
Aibo Posted April 16, 2012 Share Posted April 16, 2012 opposite of == is ~=. opposite of false is true. you can also do: if someVariable then -- do some stuff if someVariable has any value except false or nil end Link to comment
Charlie_Jefferson Posted April 16, 2012 Author Share Posted April 16, 2012 Thanks! That was it! ! ~= 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