EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Basic Reference Manual

IBM 5100
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #110 background imageLoading...
Page #110 background image
106
Example
The following shows the execution of READ statements:
10 DATA 'JONES', 15.00, 'SMITH', 20.50
20
READ A$,A1,B$,B1
30
DATA 1,2,3,4,5,6
40
READ A,B,C,X(A), X(B), X(C)
After execution
of
these statements, the character variables A$ and
B$
will
contain
the character strings JONES and SMITH, respectively, each padded on
the
right with
blanks
to
a length of 18. The arithmetic variables A 1 and
B1
will
contain the decimal
values 15.00 and 20.50, respectively. The arithmetic variables A,
B,
and C
will
contain
the
integer values
1,
2, and
3,.
respectively, and the first three elements
of
the one-dimensional array X
will
contain the integer values 4, 5, and 6, respectively.
/
',"",
/
.,(
-

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals