Table of Contents

Advertisement

128
CHAPTER 6 Command Reference
GET
Function:
["File name"] variable 1 [,Variable 2]
*
Character string
Loads data stored on a cassette tape into a variable
.
Parameter:
®
File name:
1
~Number
of characters of character
string~
8.
Can be omitted
.
Variable 1, variable 2:
Explanation:
Specification of the variable to be loaded.
Array variables also possible.
1) Loads data stored on a cassette tape into a specified variable.
2) Variable specifications are written as follows
.
GET A . . . .
. . . . . . . . . .
Loads in variable
A.
GET A, Z
.
.
...
...
.
.
..
Loads in variables from A to
Z.
GET
A(O),
A(lOO)
.....
. Loads in variables from A(O) to
A(IOO).
GET $
,
D
,
W . .
.
. . .
.
. . . Loads in the exclusive character variable $,
and in variables from D to W.
3)
Write as follows in case of array variables defined in the DIM mode
.
GET A(S), A(9) .....
.
.
.
Loads into A(S)
, A(6),
A(7), A(8),
A(9).
GET A(0,0,1), A(l ,0,0)
...
Loads
into
A(0 ,0,1),
A(0,0 ,2),
A(0
,1,0),
A(0,1 ,1), A(0
,1,2),
A(0 ,2 ,0)
,
A(0,2 ,1), A(0,2
,
2),
A(l ,0,0) when DIM A(2,2,2) is defined.
GET A$(*)
. . . .
.
. . . .
. . Loads all array A$ data stored with PUT
A$(*)
.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents