qb45advr.hlp (Topic list)
PRINT USING Statement QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
PRINT USING - a device I/O statement that prints strings or numbers
              using a specified format
Syntax
  PRINT USING formatstring; expressionlist[{,|;}]
    ■ formatstring, a string-expression, specifies the format. Characters in
      formatstring have the following meaning:
───────────────────Characters Used to Format a Numeric Expression─────────────
 #    Digit position                     │ -     Placed after digit positions,
 .    Decimal point position             │       prints trailing sign for
 ,    Placed left of the decimal point,  │       negative numbers only
      prints a comma every third digit   │ $$    Prints leading $
 +    Position of number's sign          │ **    Fills leading spaces with *
^^^^  Prints number in exponential format│ **$   Combines ** and $
────────────────────Characters Used to Format a String Expression─────────────
 &    Prints entire string               │     Prints first 'n' characters,
 !    Prints only the first character    │       where n is the number of
      of the string                      │       blanks between slashes + 2
───────────Characters Used to Print Literal Characters from formatstring──────
 _    Prints the following formatting    │       Any character not in this
      character as a literal             │       table is printed as a literal
 
    ■ expressionlist contains the items to be printed
    ■ optional "," or ";" at the end of the expressionlist are cursor
      control Details