Jump to content




[Lua] [Question] Is there something like Select Case?


  • You cannot reply to this topic
20 replies to this topic

#21 BigTwisty

  • Members
  • 106 posts

Posted 22 September 2013 - 10:42 PM

View Postkreezxil, on 22 September 2013 - 08:54 PM, said:

I don't see anywhere in this thread where readability was stated as a rule. But I'll give you the point. In fact I thought it was Select Case, did you have any comments on the article I found and my implementation of it?
I read through it, but it doesn't seem to be as efficient as the simple if then elseif that is typically used in Lua. It's a creative way of using tables, but I don't think it really adds anything useful while requiring more code to do the same thing.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users