Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's quicker???
Message
 
 
To
09/10/2002 09:53:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709237
Message ID:
00709282
Views:
26
Inlist() is slower but more readable IMO. As George says, it would have to be in a loop which is executed a lot of times before you noticed any difference.

Mike


>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
Previous
Reply
Map
View

Click here to load this message in the networking platform