Q(uick)BASIC Keyword: USING

Quick View

USING Keyword

Specifies formatting for PRINT USING and LPRINT USING statements

Worth knowing

Useful and cross-version information about the programming environments of QBasic and QuickBasic.

Description/Parameter(s)

Specifies formatting for PRINT USING and LPRINT USING statements and the palette assignments for the PALETTE USING statement.

Description/Parameter(s)
  • Characters that format a numeric expression
    #Digit position.
    .Decimal point position.
    ,Placed left of the decimal point, prints a comma every third digit.
    +Position of number sign.
    ^^^^Prints in exponential format.
    -Placed after digit, prints trailing sign for negative numbers.
    $$Prints leading $.
    **Fills leading spaces with *.
    **$Combines ** and $$.
    Characters used to format a string expression
    &Prints entire string.
    !Prints only the first character of the string.
    \ \Prints first n characters, where n is the number of blanks between slashes + 2.
    Characters used to print literal characters
    _Prints the following formatting character as a literal.
     Any character not in this table is printed as a literal.
Description/Parameter(s)
  • Characters that format a numeric expression
    #Digit position.
    .Decimal point position.
    ,Placed left of the decimal point, prints a comma every third digit.
    +Position of number sign.
    ^^^^Prints in exponential format.
    -Placed after digit, prints trailing sign for negative numbers.
    $$Prints leading $.
    **Fills leading spaces with *.
    **$Combines ** and $$.
    Characters used to format a string expression
    &Prints entire string.
    !Prints only the first character of the string.
    \ \Prints first n characters, where n is the number of blanks between slashes + 2.
    Characters used to print literal characters
    _Prints the following formatting character as a literal.
     Any character not in this table is printed as a literal.