Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
== operator
Message
From
28/07/2003 08:18:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00814030
Message ID:
00814032
Views:
10
This message has been marked as the solution to the initial question of the thread.
By default, Fox compares two strings up to the length of the right-hand string. In your example, the two strings are compared for length = 0. You can change this two ways, SET EXACT, or the exactly equal comparison (==). To get not exactly equals, you can do !(holda == holdb).

>I have
>
>holda = 'a'
>holdb = ''
>IF holda = holdb && returns .T.
>
>Why does that return .T.? I want to say not equal so I tried the !== but that does not work. How can I say not equal?
>
>Thanks
>
>Brenda
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform