Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent to INLIST for numeric values?
Message
From
21/05/1999 12:08:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00221425
Message ID:
00221434
Views:
18
>Is there a command like INLIST so I don't have to say IF x=1 or x=4 or x=12 or x=32 etc...? Right now I convert x to a string and use INLIST, but I have to code around the SET EXACT setting, which is somewhat bothersome. Thanks for any feedback.
>
>Marcus.
Marcus,
It's again Inlist.
? inlist(myNumber, 1,3,4,19...)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform