...Or just rename enum

Simen Kjaeraas simen.kjaras at gmail.com
Mon Dec 10 06:50:42 PST 2007


On Mon, 10 Dec 2007 15:44:22 +0100, sambeau <no-spam-for-sambeau at mac.com>  
wrote:

> Janice Caron Wrote:
>
>> On Dec 9, 2007 11:56 PM, Craig Black <craigblack2 at cox.net> wrote:
>> > Or wildebeast
>> >
>> > wildebeast int num = 42;
>>
>> Best idea so far! But it's spelt "wildebeest".
>>
>>     wildebeest num = 42;
>>
>> LOL
>
> how about 'def', 'define' or 'let'?
>
> define num = 42;
> def X { A=3, B, C }
>
> let num = 42;
> let X { A=3, B, C }

wildebeest is better. Or elephant. Those are even more constant, with  
their big size.



More information about the Digitalmars-d mailing list