DEVOUTPICT()
Displays a value to a device using a picture template
Syntax
DEVOUTPICT( <xExp>, <cPicture>, [<cColorString>] )
Arguments
<xExp> is any valid expression.
<cPicture> is any picture transformation that TRANSFORM() can use.
<cColorString> is an optional string that specifies a screen color to use in place of the default color when the output goes to the screen.
Description
Outputs any expression using a picture transformation instead of using the default transformation for the type of expression.
Examples
// Output a negative dollar amount using debit notation. DEVOUTPICT( -1.25, "@D$ 99,999.99 )
Tests
@ 3, 1 SAY -1.25 PICTURE "@D$ 99,999.99" will display "$( 1.25)" starting on row four, column two of the current device (without the double quotation marks, of course).
Compliance
DEVOUTPICT() is mostly CA-Cl*pper compliant. Any differences are due to enhancements in the Harbour TRANSFORM() over CA-Cl*pper.
Files
Library is rtl
Seealso
DEVOUT(), TRANSFORM()
Pingback: Harbour All Functions – D | Viva Clipper !
Pingback: Harbour Terminal Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !