General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only