Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I shorten code this?
Message
De
07/01/2000 14:44:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00314481
Message ID:
00314665
Vues:
16
See, Garrett, I'm really good at ass-backwards ways of solving issues :-)

>>IF INLIST("Y",my_field1,my_field2,my_field3.....on to whatever
>
>Heh -- didn't think this would work until I tried it. I always use INLIST() the other way -- IF INLIST(lcMonth, "January", "February", "etc...").
>
>One problem: if my_fieldn is wider than 1, it will fail with SET EXACT OFF, but it will work with SET EXACT ON.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform