as Esper said or use a multi-dimensional array
Code:
PANEL* name[20][10];

void main(){
  ...
  int x, y;
  for(x = 0; x < 20; x++){
    for(y = 0; y < 10; y++{
      name[x][y] = pan_create(...);
    }
  }