xHarbour Reference Documentation > Function Reference |
Displays a value on the screen
DispOut( <expression>, [<cColor>] ) --> NIL
The return value is always NIL.
The DispOut() function displays the value of <expression> at the current cursor position on the screen, using the color <cColor>, if specified. DispOut() ignores the SET DEVICE setting and sends output always to the screen.
See also: | Col(), DevOut(), DispBegin(), DispCount(), DispEnd(), DispOutAt(), OutStd(), QOut() | QQOut(), Row(), SetPos() |
Category: | Output functions , Screen functions |
Source: | rtl\console.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example changes the current cursor position and displays // two strings using different colors. PROCEDURE Main CLS SetPos( 10, 20 ) DispOut( "xHarbour", "W+/R" ) DispOut( "compiler", "W+/G" ) RETURN
http://www.xHarbour.com