comunicout: while-Schleife

Beitrag lesen

hi,
wie wäre es damit ?:

var OnlyToCount = 0;
var GoFurther = "on"
while(var GoFurther!="off") {
 if(x[OnlyToCount]!="") {
  document.write(x[OnlyToCount]);
  OnlyToCount++;
 } else {
  GoFurther = "off";
  break;
 }
}

mfg
comunicout

--
fütter mein ego !
welcome to electro-smog therapy