Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String differences
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01465324
Message ID:
01465328
Vues:
71
>
>DECLARE INTEGER StrCmpC IN Shlwapi;
>AS StrCmp;
>	STRING @, STRING @
>
>LOCAL cStr1, cStr2
>
>cStr1 = '12345'
>cStr2 = '12045'
>
>? StrCmp( @cStr1, @cStr2 )  && returns 3
>
>? StrCmp( @cStr2, @cStr1 )  && returns -3
>
>
>Can also be declared with input parameters passed by value.

Does the 3 mean the 3rd char or the char that is actually the difference?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform