| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Clears a row on the screen beginning at a specified position.
ClearEol( [<nRow>] , ;
[<nCol>] , ;
[<xColor>], ;
[<xChar>] ) --> cNull
The return value is always a null string ("").
Note: the function does not change the current screen cursor position.
| See also: | ClEol(), SetClearA(), SetClearB() |
| Category: | CT:Video , Screen functions |
| Source: | ct\screen3.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example displays a dashed yellow line across the screen in
// every fifth row.
PROCEDURE Main
LOCAL i
CLS
FOR i:=0 TO MaxRow()
? Str(i,2),": "
IF i % 5 == 0
?? ClearEol( , , "GR+/N", "-" )
ENDIF
NEXT
RETURN
http://www.xHarbour.com