"Henning Pohl" , dans le message (digitalmars.D:174569), a écrit : > On Friday, 10 August 2012 at 14:10:38 UTC, Vladimir Panteleev > wrote: >> On Friday, 10 August 2012 at 14:10:02 UTC, Vladimir Panteleev >> wrote: >>> On Friday, 10 August 2012 at 14:05:16 UTC, Henning Pohl wrote: >>>> Oups, sorry, imagine there isn't one. >>>> >>>> So the error is: variable idx cannot be read at compile time. >>> >>> You can't index a tuple during compilation. >> >> Sorry, meant to say - during runtime. > > Thats it, thank you :]
Note that if your design makes that you must have a tuple, you may build the array at compile time, so that you can index it at run time.