procedure( setgr(@rest point)
if(length(point) == 1
then
x = nth(0 point)
y =x
else
x = nth(0 point)
y = nth(1 point)
)
sprintf(cmd
"define grid;setwindow form.grid;
FORM grid non_etch non_etch_x_grids %s;
FORM grid non_etch non_etch_y_grids %s;
FORM grid all_etch all_etch_x_grids %s;
FORM grid all_etch all_etch_y_grids %s;
FORM grid done;"
x y x y
)