Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why INLIST() returns .T. ??
Message
From
02/10/2001 21:32:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/10/2001 20:36:07
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00563377
Message ID:
00563394
Views:
21
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform