Andreas Schneider: Korrektur

Beitrag lesen

Hallo nochmal,

nein, nur einen Zähler, ungefähr so:

i = 0
while (bedingung) {
  if ((i modulo 3)) == 0) i = 0;
  sonstige aktionen;

i++;

}

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)