xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

GetClearA()

Returns the default color attribute for clearing the screen.

Syntax

GetClearA() --> nClearAttribute

Return

The function returns the default color attribute for clearing the screen as a numeric value.

Info

See also:NToColor(), SetClearA()
Category: CT:Video , Screen functions
Source:ct\setclear.c
LIB:xhb.lib
DLL:xhbdll.dll

Example

// The example displays the default color attribute and its
// corresponding color value.

   PROCEDURE Main
      CLS

      ? GetClearA()                    // result:   7
      ? NToColor( GetClearA(), .T. )   // result: W/N
   RETURN

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe