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

SetPlotColor(Color)

Sets the current drawing color for use in graphic functions that do not specify a color as one of the parameters.

Parameters

Color - New drawing color value

Examples

BASIC

CALL SetPlotColor(5)

PASCAL

SetPlotColor(5);

BGI equivalent

void setcolor(int color);