Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfprint()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPrint()
Prints a single line of a report
------------------------------------------------------------------------------
Syntax:

     dfPrint( <nRow>, <nCol>, <uVar>, [<cPic>], [<nAtr>],;
                 [<lMul>], [<nLen>] ) --> NIL

Parameters:

     <nRow>     Row where to print
     <nCol>     Column where to print
     <uVar>     Variable to print. It may also be an array.
     <cPic>     Picture to format the variable. No default picture is
     provided.
     <nAtr>     Printer attributes. It can be any of the following:
     +---------------------------+
     |  Attribute         |    # |
     |--------------------+------|
     |  PRN_BOLD          |    1 |
     |  PRN_ENLARGED      |    2 |
     |  PRN_UNDERLINE     |    4 |
     |  PRN_SUPERSCRIPT   |    8 |
     |  PRN_SUBSCRIPT     |   16 |
     |  PRN_CONDENSED     |   32 |
     |  PRN_ITALIC        |   64 |
     |  PRN_NLQ           |  128 |
     +---------------------------+
     <lMul>     If .T. multiple lines are allowed. The default is .F.
     <nLen>     Line lenght for multiline strings. The default value is 29.

Returns:

     NIL

Description:

     Prints a report line. If it's time for the page footer to be printed,
     the page footer and the page header of next page will be printed
     before that the line itself.

Example:

     // Prints a simple line
     dfPrint( 1, 10, "dBsee 4" )
     
     // Prints a string split over multiple
     // lines 10 chars long
     dfPrint( 1, 10, "Standard CASE for CLIPPER",;
                      NIL, NIL, .T., 10 )

See also:

     dfPrnArr(), dfPrnFltExp(), dfPrnFOOTER(), dfPrnStart()

See Also: dfPrnArr() dfPrnFltExp() dfPrnFOOTER() dfPrnStart()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson