Basic Syntax <> C++ Syntax
EDIT:
I know I just made a funny for those whom understand; however, I figured I'd explain the logical differences.
<> equates to "less than or greater than"
=! equates to "Not equal"
Let's say we have variable p and variable q, and they are different, where one value is while the other is not.
It could be expressed as (p . ~q) (or, "p and not q") for basic syntax, or it could be expressed as ~p (or, "Not p") for c++ syntax. By definition of the phrase "p and not q" for the conditional statement to be true p MUST be true and q MUST be false. By definition of "Not p" p MUST be false.
Granted based on logical principles you can change the need for the not equals by changing how it's coded:
if p <> q
`actual stuff
endif
is the same as
if p = q
Else
`Actual Stuff
Endif
So this being said it makes sense that basic (or, "Beginner's All-purpose Symbolic Instruction Code) uses the "<>" because it immediately and exclusively infers a comparison. The syntax for c++ only identifies a negation.
If this explanation goes over your head I would suggest taking a introductory logic class (I did that, and found it fascinating... granted I'm actually in college) or just read about
Sentential Logic.
If at first you dont succeed, LOWER YOUR STANDARDS.