Page 1 of 1

Comma separated enums

PostPosted: Sat Jun 05, 2010 9:36 am
by Charles
# Thanks to a patch from hopscc, you can put enums on the same line:

enum Color
Red, Green, Blue

enum Numbers
One = 1, Two, Four = 4

# Previously they were required to be on separate lines:

enum Color
Red
Green
Blue

# You can do both:

enum Color
Red, Green
Blue, Yellow

Re: Comma separated enums

PostPosted: Tue Jun 08, 2010 9:35 am
by todd.a
Nice addition. Will help a lot with grouping.