title: switch case declaration by a for loop?
body: <pre><code>   switch (wurf)
      {
          for(i=1;i&lt;7;i++)
          {
                 case [i]: d[i]++;break; //printf("%i: %i\n",i,d[i]);
          }
      }
  </code></pre>
  
  <p>Hello,
  is there any possibility to declare the case by a loop? I tried out already 'i', but it didn't work.</p>