function if2(bool c1, bool c2) return c1*10+c2 end function switch if2(condition1,condition2) do case 11: case 10: case 01: case 00: end switch