of     1   

ToboboT
#115325369Sunday, October 13, 2013 12:02 AM GMT

One thing, ROBLOX needs to add: switch(cased){ [1] = print("1",cased), [2] = print("2",cased), default = print("YOLo","default"), }
DrHaximus
#115325657Sunday, October 13, 2013 12:05 AM GMT

your a moron
bombpaw
#115325749Sunday, October 13, 2013 12:06 AM GMT

Or you could.... you know.... Make it yourself?
ToboboT
#115325791Sunday, October 13, 2013 12:07 AM GMT

sniff i kenw u guys wuld hait me
[rfa#hidefromsearch]
#115325890Sunday, October 13, 2013 12:08 AM GMT

[rfa#hidefromsearch]
blocco
#115327312Sunday, October 13, 2013 12:25 AM GMT

what happens if cased is "default" and the default one is supposed to be handled separately than when cased is "default"
Seranok
#115327863Sunday, October 13, 2013 12:32 AM GMT

print({"1","2"}[value] or "default")
uyjulian
#115332537Sunday, October 13, 2013 1:24 AM GMT

There's many ways to implement switch in Lua, look on ixquick.
BAUER102
#115362609Sunday, October 13, 2013 8:26 AM GMT

github DOT KOM SLASH BAUER102 SLASH love2d-classes SLASH blob SLASH master SLASH Switch.lua ok?

    of     1