# comma sep syntax, platform independant inclusion test enum Color Red = 1, Green = 2, Blue = 4 class Test def main is shared c = Color(Red, Green) print c .takeColor(Color(Red, Green)) # TODO: Should have a qualified example. System.SomeEnum(MemberA, MemberB) and System.Something.SomeEnum(MemberA, MemberB) # testing enum membership with 'in' assert Color.Red in c assert Color.Green in c assert Color.Blue not in c assert not Color.Blue in c def takeColor(c as Color) is shared pass