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.
PRINT # Statement Details
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
PRINT #filenumber%, [USING formatstring$;] expressionlist[{; | ,}]
Usage Notes
■ Characters in formatstring$ have several meanings.
See: ◄Character Formats►
■ Spaces, commas, and semicolons in expressionlist have the same meaning
in PRINT # as in a PRINT statement. See: ◄PRINT Statement►
■ PRINT # works like PRINT and writes an image of the data to the file,
just as the data would be displayed on the terminal screen. For this
reason, be careful to delimit the data so it is output correctly. If you
use commas as delimiters, the blanks between print fields are also
written to the file.