Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Quick Math Function Question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
GoodbyeSoberDay1




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Vermette




PostPosted: 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;
GoodbyeSoberDay1




PostPosted: Mon Mar 31, 2008 11:50 am   Post subject: Re: Quick Math Function Question

Thanks alot! Very Happy
Vermette




PostPosted: 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=
GoodbyeSoberDay1




PostPosted: Mon Mar 31, 2008 12:00 pm   Post subject: Re: Quick Math Function Question

Lol, alright. Thanks.
Carey




PostPosted: 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
A.J




PostPosted: Mon Mar 31, 2008 1:14 pm   Post subject: Re: Quick Math Function Question

or also try ~= instead of not=.................go BITWISE Laughing
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: