| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Outputs a value to the current device.
DevOut( <expression>, [<cColorString>], [<nRow>, <nCol>] ) --> NIL
The return value is always NIL.
DevOut() is a console function that outputs the value of an expression to the screen or the printer.
| See also: | @...SAY, Col(), DevOutPict(), DevPos(), QOut() | QQOut(), Row(), SET DEVICE, SetPos() |
| Category: | Output functions |
| Source: | rtl\console.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example shows the output of a value with
// DevOut() and with the command @...SAY:
PROCEDURE Main
DevOut( "xHarbour compiler", "W+/R", MaxRow(), 2 )
@ MaxRow(), 2 SAY "xHarbour compiler" COLOR "W+/R"
RETURN
http://www.xHarbour.com