Cls

Description:              This statement clears the screen and sets its background color.

Returns:                    Nothing

Usage:                       Script or Steady State

Format:                      Cls(Color)

Parameters:             Color    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the color to which the screen should be set. This becomes the new background color.

Comments:               This statement sets the background color for the window that the function is executed within. It will clear the screen but any layered graphics such as GUI or Z-graphic functions will be redrawn. This function is provided mainly for compatibility with previous versions of VTS.

Example:

Cls(1);

This sets the window background color to dark blue.

See Also:

GetSystemColor