Hello,
I have a question about operators in harbour, specifically <>. In a variable a="TEST" and in a variable b="TEST1", when testing a <> b, it returns true. How should I proceed? Thank you.
harbour operators
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Enrico Maria Giordano
- Posts: 9054
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour operators
a = b with a and b of C type means "a starts with b":
Code: Select all | Expand
"Test" = "T" --> .T.
"Test" = "A" --> .F.
"Test" == "T" --> .F.
"Test" == "Test" --> .T.