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 » Scripting Helpers
Home Search
 

Re: All values?

Previous Thread :: Next Thread 
Meditate03 is not online. Meditate03
Joined: 07 May 2010
Total Posts: 4222
17 Dec 2011 12:13 PM
Such as is equal too and stuff. I can't find them on the wiki.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Dec 2011 12:17 PM
Are you talking about comparisons?


if 1 == 1 then
--do stuff

if 1 ~= 2 then
--do stuff
Report Abuse
Meditate03 is not online. Meditate03
Joined: 07 May 2010
Total Posts: 4222
17 Dec 2011 12:18 PM
(Only one I know)

Such as ~= = not equal to.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Dec 2011 12:19 PM
So...what do you need help with?
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
17 Dec 2011 12:20 PM
Do you mean mathematical operators?
Report Abuse
Meditate03 is not online. Meditate03
Joined: 07 May 2010
Total Posts: 4222
17 Dec 2011 12:21 PM
Yes
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Dec 2011 12:23 PM
You mean things like these?

+, -, *, /, math.abs() --absolute value
Report Abuse
Meditate03 is not online. Meditate03
Joined: 07 May 2010
Total Posts: 4222
17 Dec 2011 12:25 PM
==
~=
~~



and all that stuff.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Dec 2011 12:26 PM
There is no ~~, and those aren't even mathmatical operators.
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
17 Dec 2011 12:27 PM
There is also one called modulus. "%" It just takes the remainder of the division basically.. So if you have 5/11 We know that in mixed number form you can write it as 1, and 1/11 since 5 goes into 11, once, with one left over. Modulus is going to give you whatever is left over, so in this case, it would be one. So 5%11 = 1
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
17 Dec 2011 12:27 PM
Late post.. sorry..
Report Abuse
Meditate03 is not online. Meditate03
Joined: 07 May 2010
Total Posts: 4222
17 Dec 2011 12:27 PM
You know what I mean.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Dec 2011 12:29 PM
No...I don't actually.
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
17 Dec 2011 12:55 PM
@Leeav

You mean 11%5 = 1?
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
17 Dec 2011 04:06 PM
Woops XD Sorry, a bit numerlexic.
Report Abuse
jasquell is not online. jasquell
Joined: 29 Mar 2011
Total Posts: 2541
17 Dec 2011 04:08 PM
Lol,
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
17 Dec 2011 04:09 PM
These are called logical operators;
== is equal to.
~= is not equal to.
> is higuer than.
< is lower than.
>= is higuer or equal to.
<= is lower or equal to.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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