[PEAK] Enumeration instances --> values

Erik Rose psucorp at grinchcentral.com
Mon Mar 21 10:38:52 EST 2005


> I've just checked in a new 'value' attribute so that you can do this.  
> E.g. 'HatColor.red.value' would be 'REDX'.  I'd been planning to do 
> that for a while and never got around to it, but it was easier to just 
> add it now than to explain why I hadn't gotten around to it yet.  :)

Splendid; thank you! I was scratching my head trying to come up with a 
philosophical reason for its absence. :-)

Erik




More information about the PEAK mailing list