EasyManua.ls Logo

Casio FX-795P - GET {File name} Variable 1 [, Variable 2]*

Casio FX-795P
133 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
Loading...
CHAPTER
7
.
Command
Reference
G
ET
[
“File
name”]
variable
1
[,
Variable
2]*
®
Character
string
nr
Function:
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:
Specification
of
the
variable
to
be
loaded.
Array
variables
also
possible.
Explanation:
1)
Loads
data
stored
on
a
cassette
tape
into
a
specified
variable.
2)
Variable
specifications
are
written
as
follows.
GETA
2.2...
eee
eee
Loads
in
variable
A.
GETA,Z
oo...
eee
eee
Loads
in
variables
from
A
to
Z.
GET
A(0),
A(100)
.....-
Loads
in
variables
from
A(0)
to
A(100).
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(5),
AQ)
...-----
Loads
into
A(5),
A(6),
A(7), A(8),
A(9).
GET
A(0,0,1),
A(1,0,0)
...
Loads
into
A(0,0,1),
A(,0,2),
A(0,1,0),
A(0,1,1),
AQ,1.2),
A(,2,0),
AO2,1),
AW2,
2),
A(1,0,0)
when
DIM
A(2,2,2)
is
defined.
GET
A$(QK).
6-2.
eee
Loads
all
array
A$
data
stored
with
PUT
ASCK).
i
162
7-2
Program
Commands
When
the
number
of
elements
in
GET
is
greater
than
in
PUT,
only
the
PUT
data
will
be
loaded.
Conversely,
when
GET
elements
are
fewer
all
the
GET
elements
will
be
loaded.
*Descriptions
such
as
A$(k)
cannot
be
used
in
the
DEFM
mode.
*Write
as
follows
in
case
of
array
variables
defined
in
the
DEFM
mode.
GET
A,
A(5)......-...
Loads
into
the
six
variables
A
~
A(5)
same
as
in
7
the
case
of
GET
A,F.
GET
Z,
Z(20)
.........
Loads
into
the
21
variables
Z
~
Z(20).
4)
A
variable
name
stored
by
PUT
can
be
different
from
the
name
read
by
GET.
5)
When
the
number
of
stored
data
is
smaller
than
the
number
of
variables
to
be
loaded,
only
the
data
are
loaded
sequentially
in
the
variables
from.
the
specified
first
variable.
,
6)
When
a
file
name
is
specified,
data
with
the
same
file
name
are
loaded
from
the
cassette
tape.
When
the
file
name
has
been
omitted,
data
will
be
loaded
from
the
first
data
found
on
a
cassette
tape.
7)
This
can
be
executed
both
manually
and
in
a
program.
8)
GET
will
be
executed
in
the
DIM
mode
without
distinguishing
between
character
and
numeric
variables.
Error
will
therefore
occur
when
executing
an
array
if
data
stored
(PUT)
as
a
character
array
is
loaded
(GET)
into
a
numeric
array.
If
data
stored
(PUT)
as
a
numeric-array
is
loaded
(GET)
into
a
character
array,
the
contents
of
the
character
array
will
become
null.
<
Example
1
>
PUT
A$(*)
GET
A(*)
L
PRINT
A(@)<Error
6
will
occur
in
this line
(when
executing
an
array).
<
Example
2
>
PUT
A(*)
GET
A$(-*)
J
PRINT
A$(Q@)<Null
will
be
displayed.
i
i
|
|
|
|

Related product manuals