NanoBrain:
Quote: "I am a DBC user, and figured that <> is the same as using a NOT statement"
Not quite. Very similar though.
Strictly speaking, <> is a Relational operator along with <, > and >= and <=, whereas NOT is a Boolean operator, along with AND, OR and XOR, though their use often overlaps.
!= literally means 'not equals' in C, so your <> suggestion was correct though.
CornStalks said
Quote: "I've heard you use not"
, and I was just pointing out that NOT isn't supported by DB - just forgot to say DB Classic because I missed the 'in DBPro' bit when I read it - sorry.
CornStalks:
In DB Pro, you
could use:
A=1
B=2
If NOT (A=B)
Print "Not Equals"
Else
Print "Equals"
Endif
wait key
... but NanoBrains' suggestion is the 'normal' way to do it.
TDK_Man