To determine the reason that the declaration static int array7[]; is not allowed, ask yourself, "if this is the only declaration of array7, how many elements should the array have?" The answer, of course, is that you can't tell. That is why this is not allowed. Bruce Blodgett