Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's quicker???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709237
Message ID:
00709242
Views:
18
>if a = 'a' or a = 'b' or a = 'c'
>
>- OR -
>
>if inlist(a,'a','b','c')
>
>Which is quicker and/or better programming? Just in case, I'm maintaining in 2.6.
>
>Sunshine

I don't know which is quicker, but the INLIST is easier to understand and/or modify to add new options. I'd much prefer to see it in code than the first one.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform