|
| 17 Dec 2011 12:13 PM |
| Such as is equal too and stuff. I can't find them on the wiki. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 17 Dec 2011 12:18 PM |
(Only one I know)
Such as ~= = not equal to. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2011 12:19 PM |
| So...what do you need help with? |
|
|
| Report Abuse |
|
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
|
| 17 Dec 2011 12:20 PM |
| Do you mean mathematical operators? |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Dec 2011 12:23 PM |
You mean things like these?
+, -, *, /, math.abs() --absolute value |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Dec 2011 12:26 PM |
| There is no ~~, and those aren't even mathmatical operators. |
|
|
| Report Abuse |
|
|
Leeav
|
  |
 |
| 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
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
| |
|
| |
|
Pyzothon
|
  |
| Joined: 26 Oct 2011 |
| Total Posts: 822 |
|
| |
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
|
| 17 Dec 2011 04:06 PM |
| Woops XD Sorry, a bit numerlexic. |
|
|
| Report Abuse |
|
|
jasquell
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 2541 |
|
| |
|
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 |
|
|