Differences Between FormatX$ Functions & PRINT USING Statement (61345)
This article was previously published under Q61345
SUMMARY
This article demonstrates the differences between the FormatX$
Add-On-Library (DTFMTxx.LIB) functions and the Basic PRINT USING
statement, specifically in the case of the "#" character.
This information applies to Microsoft Basic Professional Development
System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2. FormatX$
refers to the Add-On-Library functions FormatI$, FormatL$, FormatS$,
FormatD$, and FormatC$ found in Basic PDS 7.00 and 7.10.
In the PRINT USING statement, the # sign is used in the string
identifier to specify a digit placeholder. If there isn't a digit in
that location, a space is put in its place. In the FormatX$ functions,
the # is also a placeholder. However, if there isn't a digit, the
location is not padded with a space.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB61345 |
|