On Tuesday, 28 May 2013 at 12:16:51 UTC, John Colvin wrote:
There really ought to be a property .value of enums.
or alternatively .name of course. Either way there should be a way to choose whether you want the name or the value.
On Tuesday, 28 May 2013 at 12:16:51 UTC, John Colvin wrote:
There really ought to be a property .value of enums.
or alternatively .name of course. Either way there should be a way to choose whether you want the name or the value.