syntax switch

try

case x

when 1:

when 2:

else

end

it, er, is in the manual…

allbests,

John Browning