Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inlist returns incorrect value
Message
 
À
16/08/2001 15:06:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00544903
Message ID:
00544914
Vues:
21
>Try this:
>a = '18'
>? inlist(a,'1')
>
>Prints .T.
>
>Is this a bug?
>
>Thanks
>Robert


Look at your EXACT setting. I like to think of it this way.

If EXACT is off it can be read like:

Does what is stored in a (18) start with '1' The answer would be true.

If EXACT is on then does what is stored in A match exactly with '1' The answer would be False.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform