Where is the error?

Hi I am copying some code from a Make tutorial on 4digit counter and I get a compiling error that I cant see, the error says:-

Arduino: 1.6.3 (Windows 7), Board: "Arduino Uno"

Build options changed, rebuilding all

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard C:\Users\jon\AppData\Local\Temp\build2735656613135180331.tmp\counter.cpp -o C:\Users\jon\AppData\Local\Temp\build2735656613135180331.tmp\counter.cpp.o

counter.ino:30:41: error: 'F' was not declared in this scope

counter.ino: In function 'void setup()':

counter.ino:45:11: error: 'F' was not declared in this scope

Error compiling.

the script so far is:-

#define A 2
#define B 3
#define C 4
#define D 5
#define E 6
#define F 7
#define G 8
#define DP 9

#define CC1 10
#define CC2 11
#define CC3 12
#define CC4 13

#define numbersegments {
{1,1,1,1,1,1,0,0},
{0,0,1,1,0,0,0,0},
{1,1,0,1,1,0,1,0},
{1,1,1,1,0,0,1,0},
{0,1,1,0,0,1,1,0},
{1,0,1,1,0,1,1,0},
{0,0,1,1,1,1,1,0},
{1,1,1,0,0,0,0,0},
{1,1,1,1,1,1,1,0},
{1,1,1,0,0,1,1,0}
}

byte numbers[10][8] = numbersegments;
const int segments[8] = {A, B, C, D, E, F, G, DP};

void setup() {
Serial.begin(9600);
pinMode(A, OUTPUT);
digitalWrite(A,LOW);
pinMode(B, OUTPUT);
digitalWrite(B,LOW);
pinMode(C, OUTPUT);
digitalWrite(C,LOW);
pinMode(D, OUTPUT);
digitalWrite(D,LOW);
pinMode(E, OUTPUT);
digitalWrite(E,LOW);
pinMode(F, OUTPUT);
digitalWrite(F,LOW);
pinMode(G, OUTPUT);
digitalWrite(G,LOW);

pinMode(CC1, OUTPUT);
digitalWrite(CC1,HIGH);
pinMode(CC2, OUTPUT);
digitalWrite(CC2,HIGH);
pinMode(CC3, OUTPUT);
digitalWrite(CC3,HIGH);
pinMode(CC4, OUTPUT);
digitalWrite(CC4,HIGH);

}

void loop() {
// put your main code here, to run repeatedly:

}

I know its probably right in front of me! If anyone can help that would be excellent. Also what do the numbers 30:41 and 45:11 in the error message mean?

thanks for any help

For reasons I can't begin to speculate about, when I changed the "F" to "X" everywhere it compiles....

#define X 7

const int segments[8] = {A, B, C, D, E, X, G, DP};

pinMode(X, OUTPUT);
digitalWrite(X,LOW);

F() is a defined function for arduino, see: http://playground.arduino.cc/Learning/Memory

I'm guessing you are getting conflicts between your F and the other F.

Try "F_SEG" instead.

Solved, thanks!!