mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 09:33:41 +02:00
15 lines
326 B
ObjectPascal
15 lines
326 B
ObjectPascal
Program Example12;
|
|
uses Crt;
|
|
|
|
{ Program to demonstrate the TextColor function. }
|
|
|
|
begin
|
|
WriteLn('This is written in the default color');
|
|
TextColor(Red);
|
|
WriteLn('This is written in Red');
|
|
TextColor(White);
|
|
WriteLn('This is written in White');
|
|
TextColor(LightBlue);
|
|
WriteLn('This is written in Light Blue');
|
|
end.
|