--> switch v /*with fallthrough*/ do case 1,2: -- do something case 3 then -- do something fallthrough case 4: -- do something break default: -- do something end switch