Author |
Message |
GoodbyeSoberDay1
|
Posted: Mon Mar 31, 2008 11:45 am Post subject: Quick Math Function Question |
|
|
Hi,
What would i use for "Not equal to" (in writing this is and equal sign with a slash through it), so I'm guessing it's "/=", just need to confirm it.
Thanks |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Vermette
![](http://compsci.ca/v3/uploads/user_avatars/637825944810b5d4444c6.jpg)
|
Posted: Mon Mar 31, 2008 11:49 am Post subject: RE:Quick Math Function Question |
|
|
!=
/= is division shorthand. i.e. if a=10, then a=/2; will result in a=5; |
|
|
|
|
![](images/spacer.gif) |
GoodbyeSoberDay1
|
Posted: Mon Mar 31, 2008 11:50 am Post subject: Re: Quick Math Function Question |
|
|
Thanks alot! ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
Vermette
![](http://compsci.ca/v3/uploads/user_avatars/637825944810b5d4444c6.jpg)
|
Posted: Mon Mar 31, 2008 11:51 am Post subject: RE:Quick Math Function Question |
|
|
Not so fast! Looks like I got ahead of myself. != is C syntax. Try not= |
|
|
|
|
![](images/spacer.gif) |
GoodbyeSoberDay1
|
Posted: Mon Mar 31, 2008 12:00 pm Post subject: Re: Quick Math Function Question |
|
|
Lol, alright. Thanks. |
|
|
|
|
![](images/spacer.gif) |
Carey
![](http://mirkon.sneezepower.com/images/multilockon.gif)
|
Posted: Mon Mar 31, 2008 12:11 pm Post subject: RE:Quick Math Function Question |
|
|
!= is also Java syntax. ahh Java.......so much more annoying that Turing...and a TON more powerful |
|
|
|
|
![](images/spacer.gif) |
A.J
![](http://compsci.ca/v3/uploads/user_avatars/119833057151651227b0d87.gif)
|
Posted: Mon Mar 31, 2008 1:14 pm Post subject: Re: Quick Math Function Question |
|
|
or also try ~= instead of not=.................go BITWISE ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
|