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

GetPlotColor(Color)

Returns the current drawing color.

Parameters

Color - Variable to store current drawing color

Examples

BASIC

CALL GetPlotColor(PlotColor%)

PASCAL

GetPlotColor(PlotColor);

BGI equivalent

int getcolor(void);