Problem with bitRead(), bitWrite()

I am having trouble compiling any sketch with the bitRead() and bitWrite() instructions. Error returned is "expected primary expression..." Also, the commands (bitRead/bitWrite) do not change color in the compiler as other reserved words do.

Running WIN XP Pro, SP 3, Arduino IDE v13

Sorry in advance if this has already been covered elsewhere....

I too have wondered about these 'new' functions. The IDE 13 keywords.txt files list the following:

bitRead KEYWORD2 BitRead
bitWrite KEYWORD2 BitWrite
bitSet KEYWORD2 BitSet
bitClear KEYWORD2 BitClear
bit KEYWORD2 Bit
highByte KEYWORD2 HighByte
lowByte KEYWORD2 LowByte
But so far I have not been able to find them in the reference. Maybe just researving the words with IDE 13 but to be implemented later?

The first letter needs to be in lower case, see the reference here: http://arduino.cc/en/Reference/Bit

This sketch compiles ok for me on 0013 with XP SP3.

int ledPin = 13;                // LED connected to digital pin 13

void setup()                    // run once, when the sketch starts
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}

void loop()                     // run over and over again
{
byte x,n;

  x = analogRead(0);
  n =  analogRead(1);
  bitWrite(x, n, 0); 
  analogWrite(9,n);
  digitalWrite(ledPin, bit(0));   // sets the LED on if the bit is set
  delay(1000);                  // waits for a second
  digitalWrite(ledPin, bitRead(x,n));    
  delay(1000);                  // waits for a second
}

They're in the extended reference: Arduino - Home