Harbour Reference Guide

 

DEVOUTPICT()

Displays a value to a device using a picture template

Syntax

DEVOUTPICT(<xExp>,<cPicture>[,<cColorString>]) --> NIL

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.

Returns

NIL

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).
Status

Ready

Compliance

DEVOUTPICT() is mostly CA-Clipper compliant. Any differences are due to enhancements in the Harbour TRANSFORM() over CA-Clipper.

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30