dos_compilers/Microsoft QuickBASIC v3/manual/ng26f10.html
2024-07-01 13:00:14 -07:00

51 lines
1.9 KiB
HTML

<HTML>
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
<BODY>
<A HREF="ng2682a.html">[&lt;&lt;Previous Entry]</A>
<A HREF="ng320.html">[^^Up^^]</A>
<A HREF="ng27378.html">[Next Entry&gt;&gt;]</A>
<A HREF="menu.html" >[Menu]</A>
<A HREF="info.html">[About The Guide]</A>
<HR>
<PRE>
<B>PRINT # Output to Sequential File</B>
<B>PRINT</B> <B>#</B><U>filenum</U>, [<U>exprlist</U>] [;]
Writes to a specified disk file an image of what would be displayed on
screen by a corresponding PRINT statement.
<U>filenum</U> The number under which the file was opened for output.
<U>exprlist</U> Numeric and/or string expressions to print. Each
expression must be separated from the one after it by
either a comma or a semicolon.
; If included at the end of the statement, suppresses the
usual carriage return and line feed.
----------------------------------------------------------------------
<B>Notes:</B> PRINT # outputs exactly the same characters that would
appear on screen in response to a PRINT statement. Commas
between expressions, for example, result in the insertion
of space.
If an expression to be output contains significant quote
marks or commas, you should surround it with quote marks
by means of CHR$(34); otherwise, when you input these
fields, QuickBASIC will interpret the significant commas
or quotes as delimiters.
</PRE>
<HR>
<B>See Also:</B>
<A HREF="ng2682a.html">PRINT</A>
<A HREF="ng27378.html">PRINT # USING</A>
<HR>
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
<HR>
</BODY>
</HTML>