DevOutPict()

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()

3 responses to “DevOutPict()

  1. Pingback: Harbour All Functions – D | Viva Clipper !

  2. Pingback: Harbour Terminal Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.