generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: what does ~= mean

Previous Thread :: Next Thread 
lewiaa is not online. lewiaa
Joined: 17 Sep 2011
Total Posts: 355
10 Dec 2016 02:09 PM
im new to scripting...
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
10 Dec 2016 02:10 PM
does not equal


Report Abuse
litalela is not online. litalela
Joined: 30 Mar 2010
Total Posts: 6267
10 Dec 2016 02:10 PM
http://wiki.roblox.com/index.php?title=Operator


Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Dec 2016 02:11 PM
not equal to

x ~= y will return true if x is not equal to y, else it'll return false

if 3 ~= 4 then
print("3 is not equal to 4")
end
Report Abuse
lewiaa is not online. lewiaa
Joined: 17 Sep 2011
Total Posts: 355
10 Dec 2016 02:11 PM
i thought so just wasnt sure
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
10 Dec 2016 02:14 PM
alternatively, you can also do this for booleans.

if not (x == y) then


Report Abuse
XCVlll is not online. XCVlll
Joined: 23 Oct 2008
Total Posts: 963
10 Dec 2016 02:19 PM
i like using not but that can be more confusing logic wise if you're not thinking right
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
10 Dec 2016 02:24 PM
Not doesn't make the logic confusing lol.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image