Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I shorten code this?
Message
From
07/01/2000 14:44:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00314481
Message ID:
00314665
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform