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.
Format Specifiers
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Format Specifiers
 
 ■ The following characters are used to format numeric expressions:
 
   Character   Description
   ═════════   ═════════════════════════════════════════════════════════════
   #           Digit position
   -           Placed after digit, prints trailing sign for negative numbers
   .           Decimal point position
   ,           Placed left of the decimal point, prints a comma every third
               digit
   $$          Prints leading $
   +           Position of number sign
   **          Fills leading spaces with *
   ^^^^        Prints in exponential format
   **$         Combines ** and $$
 
 ■ The following characters are used to format string expressions:
 
   Character   Description
   ═════════   ═════════════════════════════════════════════════════════════
   &           Prints entire string
   \ \         Prints first n characters, where n is the number of blanks
               between slashes + 2
   !           Prints only the first character of the string
 
 ■ The following character is used to print literal characters:
 
   Character   Description
   ═════════   ═════════════════════════════════════════════════════════════
   _           Prints the character following the underscore as a literal
 
   Note: Any character not in this list is printed as a literal.
 
 See: PRINT Statement