Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why INLIST() returns .T. ??
Message
De
02/10/2001 21:32:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/10/2001 20:36:07
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00563377
Message ID:
00563394
Vues:
23
>Supose today is 10/02/01.
>xdate = DATE() && Todays date
>1)
>? INLIST(ALLTRIM(STR(MONTH(xdate))),"1","2") && If Jan or feb (Returns .T. <<== ERROR)
>* Here I expect .F.

You've already got an answer to this, but... why not just
?inlist(month(xdate),1,2)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform