Terminal control/Coloured text: Difference between revisions
→{{header|PascalABC.NET}}
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1,558:
TextColor(Black);
end.</syntaxhighlight>
=={{header|PascalABC.NET}}==
<syntaxhighlight lang="delphi">
##
uses System;
Console.ForegroundColor := ConsoleColor.Red;
Console.BackgroundColor := ConsoleColor.Yellow;
Console.WriteLine('Red on Yellow');
Console.ForegroundColor := ConsoleColor.Black;
Console.BackgroundColor := ConsoleColor.White;
Console.WriteLine('Black on White');
</syntaxhighlight>
=={{header|Perl}}==
|