RosettaCodeData/Task/Conditional-structures/MAXScript/conditional-structures-3.max

7 lines
111 B
Plaintext

case of
(
(x == 1): (print "one")
(x == 2): (print "two")
default: (print "Neither one or two")
)