Enum to string array

Spacen Jasset spacenjasset at yahoo.co.uk
Wed Oct 1 03:52:26 PDT 2008



enum Symbols {
		CYCLIC_FORWARD, CYCLIC_BACKWARD, CYCLIC_LEFT, etc
};

How could I map this into an array? (or vice-versa) must I use a switch 
statement, or an enum -> string mapping array?


More information about the Digitalmars-d-learn mailing list