| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the default color attribute for clearing the screen.
GetClearA() --> nClearAttribute
The function returns the default color attribute for clearing the screen as a numeric value.
| See also: | NToColor(), SetClearA() |
| Category: | CT:Video , Screen functions |
| Source: | ct\setclear.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// 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
http://www.xHarbour.com