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

LineToC(X, Y, Color)

Draws a line to the specified X, Y position from the current X, Y position using the specified drawing color.

Parameters

X - Ending horizontal position of line
Y - Ending vertical position of line
Color - Color of line

Examples

BASIC

CALL LineToC(50, 75, 6)

PASCAL

LineToC(50, 75, 6);