lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 2018-01-28 12:04 PM, Paige DePol wrote:
Soni They/Them L. <> wrote:

I want a switch where you can use math.random() in switch cases and it
lazy-evaluates them and just works.
What practical use would that even have?


It's equivalent to if...elseif chains and supports ==

Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.