You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enum name
member1
member2 = value
member3
End Enum
Declares a set of Global Int constants. The first member is 0 unless given an explicit value. Every member after that counts up by 1 from the previous one, unless it's given its own explicit value, in which case counting continues from there.
Enum can only appear in the main program, not inside a Function. An explicit value must be a constant integer expression.
Enum Direction
North
East
South
West
End Enum
debuglog North ; 0
debuglog East ; 1
debuglog South ; 2
debuglog West ; 3