On Tuesday, 11 June 2013 at 20:49:58 UTC, Seany wrote:
On Tuesday, 11 June 2013 at 20:18:16 UTC, Simen Kjaeraas wrote:
On 2013-06-11, 21:52, Seany wrote:

Hello

i read here that enums, once initialized, are constants :
http://ddili.org/ders/d.en/enum.html

However, i need a method, if possible, to dynamically (cexecution time) definition of enums, and updating them.

anyidea how that can be done? using const and/or inout, and passing an array / tuple to a function?

Expounding on my previous post:

So you need something like this:

int i;

no, i would like to define a range as a DISCREET domain / image of a function, with the possibility of modifying it when exclusively commanded.

I'm not following you. Could you give a clearer explanation of what you're trying to achieve?

Reply via email to