AT&T 6300 Programmer's Manual page 420

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

PRINT# and PRINT# USING
Statements
Write data sequentially to a disk file. PRINT#
and PRINT# USING are usually used in a
program.
Syntax
filenum
format-string
list-of-expressions
Example
7-264
PRINT# filenum, [USING format-string
; ] list-of-expressions
is the number used when the file was OPENed for
OUTPUT
is a string expression (usually a constant or variable)
composed of formatting characters described in the "PRINT
USING" statement
is a list of the numeric and/or string expressions to be
written to file
PRINT# does not compress data on the disk.
An image of the data is written to the disk,
just as it would be displayed on the terminal
screen with a PRINT statement. Be sure to
delimit the data so that it can be input
correctly.
Numeric expressions should be delimited by
semicolons.
50 PRINT#1,B;C;D;X;Y;Z
If commas are used as delimiters, the extra
blanks that are inserted between print fields
will also be written to the disk.

Advertisement

Table of Contents
loading

Table of Contents