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

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

Draws a line from X1, Y1 to X2, Y2 using the specified color.

Parameters

X1 - Upper left horizontal position of line
Y1 - Upper left vertical position of line
X2 - Lower right horizontal position of line
Y2 - Lower right vertical position of line
Color - Color of line

Examples

BASIC

CALL ExtLineC(10, 15, 100, 150, 1)

PASCAL

ExtLineC(10, 15, 100, 150, 1);