DrawBoxC(X1, Y1, X2, Y2)
Draws a line box from X1, Y1 to X2, Y2 using the current drawing color.
Parameters
X1 - Upper left horizontal position of box
Y1 - Upper left vertical position of box
X2 - Lower right horizontal position of box
Y2 - Lower right vertical position of box
Examples
BASIC
CALL DrawBoxC(10, 10, 100, 100)PASCAL
DrawBoxC(10, 10, 100, 100);BGI equivalent
void rectangle(int left, int top, int right, int bottom);