Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
== operator
Message
De
28/07/2003 08:18:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00814030
Message ID:
00814032
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform