Andrej Mitrovic Sun, 06 Mar 2011 16:30:15 -0800
What about: enum : string[int] { aa = [1: "blue", 2: "red"] }
enum string s = aa[1]; void main() { writeln(s); }