Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00180248
Message ID:
00180397
Vues:
21
Ok Folks,

Here it is, how strings are compared ...
<STRONG>SET EXACT OFF</STRONG>

<STRONG>=</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted then result is returned

<STRONG>==</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted their lengths are compared
   4) the result is returned

<STRONG>SET EXACT ON</STRONG>

<STRONG>=</STRONG>

   1) they are assumed equal
   2) the shorter string is padded on the right to be equal length to the 
      longer
   3) they are comapred one character at a time
   4) when the string on the right is exhausted then result is returned

<STRONG>==</STRONG>

   1) they are assumed equal
   2) they are comapred one character at a time
   3) when the string on the right is exhausted their lengths are compared
   4) the result is returned
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform