1
   

!= or /= or basically the not equal sign

 
 
Reply Fri 28 May, 2004 12:40 pm
How do you write the not equal sign?

In programming it is often != and I use that. I just saw /= as well today.

What do you use (other than Not Equal )?
 
Post: # 712,730
View Profile ebrown p
 
  1  
Reply Fri 28 May, 2004 01:14 pm
I have also seen "<>" (less than or greater than)"

I always use != (but then I am a programmer).
0 Replies
 
Post: # 712,754
View Profile McGentrix
 
  1  
Reply Fri 28 May, 2004 01:33 pm
Huh! I didn't know Not Equal existed here...
0 Replies
 
Post: # 712,772
View Profile ebrown p
 
  1  
Reply Fri 28 May, 2004 01:42 pm
I think if I saw "foo /= bar" I would interpret it as

foo = foo / bar;
0 Replies
 
  1  
Reply Fri 28 May, 2004 02:11 pm
Of the forms that I can write with this keyboard, I have seen != and <>, but never /=.
0 Replies
 
  1  
Reply Thu 3 Jun, 2004 03:10 pm
The semantical standard is !=

I have never seen the /= before either. Where did you see it used? Smile
0 Replies
 
Post: # 723,334
View Profile SealPoet
 
  1  
Reply Fri 4 Jun, 2004 04:29 am
Then there's the ever popular 'NE'. As opposed to EQ, GT, LT, GE, and LE...
0 Replies
 
  1  
Reply Tue 8 Feb, 2005 04:50 am
What exactly does this mean: The use of the = symbol in programming requires a new understanding of the terms assignment and equality. (?) Are there any other use for the equal sign in programming other than indicate mathematical or logical equivalence ?
0 Replies
 
  1  
Reply Tue 8 Feb, 2005 06:50 am
I use != but I've seen <> used in pl sql.

pgp, I think = in programming is mostly used for assignment. Assigning values to variables and such. To check equality, depending on the language, it's usually == (in Java .equals()). There is a big difference between assigning something equal and checking equality.
  1  
Reply Tue 8 Feb, 2005 07:01 am
visual C++
freeduck do u know visual C++?
0 Replies
 
  1  
Reply Tue 8 Feb, 2005 07:55 am
No, sorry, not well enough to be of any use to you. But if you have a specific question about it I'm sure someone here knows enough to at least point you in the direction of the answer.
0 Replies
 
  1  
Reply Sun 10 Feb, 2008 05:24 pm
Re: != or /= or basically the not equal sign
Craven de Kere wrote:
How do you write the not equal sign?

In programming it is often != and I use that. I just saw /= as well today.

What do you use (other than Not Equal )?


I noticed here that typing in ": ! = :" gives the Not Equal symbol on this board, but not elsewhere.

Is there any way to make this work elsewhere, like on another forum? (like on my Edit [Moderator]: Link removed?).

The "Not Equal" sign would really be useful to me.
0 Replies
 
  1  
Reply Sun 10 Feb, 2008 08:21 pm
I think /= is some sort of shorthand for =/=
0 Replies
 
View Profile Quincy
 
  1  
Reply Mon 11 Feb, 2008 07:07 am
I use ~=, which is from Matlab/Octave, but != is inter-changeable in Matlab, I think.

EDIT: I suppose if you use '~' for 'not', you could also use , er, nevermind, I can't seem to place the symbol here, but it looks like a L rotated 90 degrees forward and then flipped over.
0 Replies
 
View Profile vinsan
 
  1  
Reply Mon 11 Feb, 2008 10:39 am
<> is more famous though. Its an old notion.
0 Replies
 
  1  
Reply Mon 11 Feb, 2008 09:07 pm
Quincy wrote:
I use ~=, which is from Matlab/Octave, but != is inter-changeable in Matlab, I think.

EDIT: I suppose if you use '~' for 'not', you could also use , er, nevermind, I can't seem to place the symbol here, but it looks like a L rotated 90 degrees forward and then flipped over.


yah, I have a math book with that in it. sort of like a ",_" except upside down and in the middle of the line.
0 Replies
 
  1  
Reply Tue 12 Feb, 2008 02:06 am
Re: != or /= or basically the not equal sign
unlawflcombatnt wrote:

I noticed here that typing in ": ! = :" gives the Not Equal symbol on this board, but not elsewhere.

Is there any way to make this work elsewhere, like on another forum?


Just make it an emoticon for the board. Most board software allows you to add emoticons.
0 Replies
 
View Profile haddara
 
  1  
Reply Wed 19 Aug, 2009 05:03 am
Yes, you're right <> is used in SQL and PL/SQL
0 Replies
 
View Profile JPB
 
  1  
Reply Wed 19 Aug, 2009 07:32 am
I use != in sql+ and ne in SAS. Common syntax in SAS would be

if x ne 7 or y gt 8 or z le 6 then...

which translates to

if x not equal to 7 or y greater than 8 or z less than or equal to 6 then...
0 Replies
 
View Profile Litoz
 
  1  
Reply Tue 15 Sep, 2009 10:09 pm
hi people! i had programed in various languages and for telling "no equal" u use " !=" , the /= is a sort of "+=" but with division insteand. putting "x = x/y " is the same than "x/=y" got it?? and the otre simbol in math is "¬" the L shaped they say. here to help
0 Replies
 
 

Related Topics

Global Warming: Credible or Incredible? - Discussion by Hazlitt
Black Hole Outbursts - Discussion by Rae
Incredible New Photos of the Sun - Discussion by sumac
WEATHER OR NOT? - Discussion by Misti26
Leonid Storm Tues 19th - Discussion by quinn1
Tonight's Shuttle Launch - Discussion by Rae
Did we really land on the Moon ? - Discussion by Algis Kemezys
 
  1. able2know
  2. » != or /= or basically the not equal sign
Copyright © 2009 Horizontal Verticals :: Page generated in 0.37 seconds on 11/22/2009 at 02:19:09 Top End