extern int xy_to_num(int x, int y, char *fname) ;
