qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LPRINT, PRINT Statements
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Writes formatted or unformatted data to either the printer port LPT1
 (LPRINT), or to the screen or a file (PRINT). The PRINT statement is not
 available when forms are showing. Use the PRINT method with objects.
 See: PRINT Method
 
    LPRINT [USING formatstring$;] expressionlist [{; | ,}]
    PRINT [USING formatstring$;] [expressionlist] [{; | ,}]
 
    ■ USING formatstring$; String expression containing:
                           • The literal string to print
                           • One or more format specifiers that determine
                             the field and format of the printed strings
                             or numbers
                           • A semi-colon following each format string is
                             required.
 
    ■ expressionlist       List of one or more numeric or string
                           expressions to print; string literals must be
                           enclosed in quotation marks ("")
 
    ■ ; | ,                Specifies where the next output begins:
 
                           Character  Description
                           ═════════  ══════════════════════════════════════
                           ;          Print immediately after the last value
                           ,          Print at the start of the next print
                                      zone; zones are 14 characters wide
 
 See Also
    Format Specifiers      MSGBOX Statement       PRINT Method
    PRINT # Statement      SPC Function           TAB Function