AT&T 6300 Programmer's Manual page 515

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

Advertisement

Syntax
list-of-expressions
Remarks
Example
WRITE
Statement
Writes data to the screen.
WRITE [list_of_expressions]
list-of-numeric and/or string expressions. They must be
separated by commas.
If "list of expressions" is omitted, a blank line
is output. If "list-of-expressions" is included,
the values of the expressions are output on the
screen.
When the values of the expressions are output,
each item is separated from the last by a
comma. Strings are delimited by quotation
marks. After the last item in the list is
displayed, GWBASIC inserts a CR LF.
WRITE and PRINT are similar. The difference
between WRITE and PRINT is that WRITE
inserts commas between the items on the
screen and delimits strings with quotation
marks. Also numbers are not preceded by
blanks.
10 A=80:B=90:CS=uTHAT'S ALL"
20 WRITE A,B,CS
RUN
80, 90,"THAT'S ALL"
Ok
7·359

Advertisement

Table of Contents
loading

Table of Contents