Hello, I am having some problems compiling my program I am working on... I am beginning a neural net experiment on an H/PC with pocketC. the error I am getting is:

Problem @ fuke \My documents\Neural Net.pc Line 36

--------------------------------

undefined array size for variable

the line of code that the problem is on is in the nn_eval() function

right after the variable declarations...

(the first for() line... for(x=0;x<30;x++))

here is the full source dump:

int neuron[30];

int synapseweights[900];

int synapsefired[900];

int threshold = 100;

int nn_output_analog(int outputnum)

{

int outval;

outval = neuron[29-outputnum];

return outval;

}

int nn_output_digital(int outputnum)

{

int outval;

if(neuron[29-outputnum]>threshold)

outval = 1;

return outval;

}

nn_input_analog(int inputnum,int inval)

{

neuron[inputnum] = inval;

}

nn_input_digital(int inputnum,int inval)

{

if(inval)

neuron[inputnum] = 10;

}

nn_eval();

{

int x;

int y;

for(x = 0;x < 30;x++)

{

for(y=0;y<30;y++)

{

if(neuron[y] > threshold)

{

neuron[x] = neuron[x] + (neuron[y]/10) + synapseweight[x+(y*30)];

synapsefored[x+(y*30)]++;

}

}

}

}