Show/Hide Toolbars

XSharp

NoteThis command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available

Purpose

Change the setting that determines the current color for the terminal window.

Syntax

SET COLOR | COLOUR TO [<xcColorString>]

Description

SET COLOR is functionally equivalent to SetColor().  SET COLOR TO with no arguments is the same as SetColor(NULL_STRING), returning to the default color settings.

Examples

This example uses the unselected setting to make the current GET red on white while the rest are black on white:

FUNCTION Start AS VOID
SET COLOR TO gr+/B // Yellow on Blue
CLEAR SCREEN
? "Hello world"
 

Assembly

XSharp.RT.DLL

See Also

SetColor()