AT&T 6300 Programmer's Manual page 224

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

Advertisement

ZIP
12345
DATA
Statement
Example
7-68
The data-type of an entry in the data sequence
must correspond to the type of the variable to
which it is to· be assigned; i.e., numeric
variables require numeric constants as data
(conversion from one numeric type to another
is allowed; for example, you may have a single
precision floating point constant associated
with an integer variable) and string variables
require quoted or unquoted strings as data.
DATA statements may be re-read from the
beginning by use of the RESTORE statement.
Ok
10 PRINT uCITV", uSTATE", UZIP"
20 READ CS,SS,Z
30 DATA uBIRMINGHAM,"
35 DATA "ALABAMA,12345"
40 PRINT CS,SS,Z
RUN
CITY
STATE
BIRMINGHAM,
ALABAMA
Ok

Advertisement

Table of Contents
loading

Table of Contents