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

7 lines
111 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
case of
(
(x == 1): (print "one")
(x == 2): (print "two")
default: (print "Neither one or two")
)