Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INLIST() with variable?
Message
De
23/08/1999 13:13:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
INLIST() with variable?
Divers
Thread ID:
00256667
Message ID:
00256667
Vues:
64
site = 'HSC'
This works:
?inlist(site,'xxx','HSC') && returns .T.

This does NOT work:
clist = "'xxx','HSC'"
?inlist(site,clist) && returns .F.

I need to have a dynamic list (e.g. clist = ...) so that
I can use this code to conditionally delete records. Not
sure why this will not work.

Any ideas or alternative solutions?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform