xHarbour Reference Documentation > Function Reference |
Outputs a PICTURE formatted value to the current device.
DevOutPict( <expression>, <cPicture> [,<cColorString>] ) --> NIL
The return value is always NIL.
DevOutPict() is a console function that outputs the value of any expression using a picture transformation rule instead of using the default transformation for the type of <expression>.
See also: | @...SAY, Col(), DevOut(), DevPos(), QOut() | QQOut(), Row(), SET DEVICE, SetPos(), Transform() |
Category: | Output functions |
Source: | rtl\devoutp.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// Output a negative dollar amount using debit notation. PROCEDURE Main DevOutPict( -12.45, "@X $ 99,999.99" ) // result: $ 12.45 DB RETURN
http://www.xHarbour.com