Andy: Erlaubt?

Hi,

ist das erlaubt?

switch(i) {
case 1:
  ...
  break;
 case 3:
  ...
  break;
 case 4:
  ...
  break;
 case 19:
  ...
  break;
 }

Andy

  1. Hallo

    ist das erlaubt?

    [...]

    Ja: http://selfhtml.teamone.de/javascript/sprache/bedingt.htm#switch

    Grüsse, eeye

    --
    [ ] <- Nail here for new Monitor.
  2. Hallo Andy,

    Was daran vermutest Du wäre nicht erlaubt?

    Grüße
    Andreas

    --
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
    (Rich Cook)