Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

FillBox(X1, Y1, X2, Y2, Color)

Draws a solid box from X1, Y1 to X2, Y2 using the specified 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
Color - Color of box

Examples

BASIC

CALL FillBox(0, 0, 100, 75, 1)

PASCAL

FillBox(0, 0, 100, 75, 1);