Why won't micros() compile????

The simple program below compiles correctly if I use millis() in the
line with the comment "this line is the problem". But if I use micros() in the exact same spot as shown, then I get the compile error message "error - micros was not declared in this scope" I tried it several times and I don't think I have a typing error or strange character in the line. Why won't micros() compile? (I assume this is a simple problem that I am just not seeing - thanks for your help. I'm using Arduino 12 Alpha, if that matters)

/*
TimerMicro - Test micros() to see how long it takes
/
unsigned long timearray[10];
void setup() { }
void loop() {
for (int i=0; i<=9; i++) {timearray
= micros(); //this line is the problem*
}
}

Using Arduino 0017 I was able to compile the code you posted. If it isn't too much of a burden, I suggest upgrading.

Thanks - code compiles correctly for me with Arduino 17, also. Must have been a bug in the compiler. Thanks again.

Must have been a bug in the compiler.

No. The micros function was added between after version 12, but before version 17. You can't use a function in a version prior to when it was introduced, which is what you were trying to do.