Arduino IDE 0012 Alpha questions (newbie)

Ahhh... That's better... Thought having no bitwise operators would be a bit of a crazy thing to leave out!

Now if only I could change that font!

Here's what I came up with for my binary counter, any comments?

void setup()                    // run once, when the sketch starts
{
  for (int i=1; i <= 8; i++){
  pinMode(i, OUTPUT);      // sets the digital pin as output
  digitalWrite(i,LOW);
  }
}

void loop()                     // run over and over again
{
  for (int i=0; i<=255; i++){
    int mask=1;
    for (int bit=1; bit<=8; bit++){
      if ((i&mask)!=0) digitalWrite(bit,HIGH);
      else digitalWrite(bit,LOW);
      mask=mask*2;
    }
    delay(200);
  }
}