Casio FX-795P Owner's Manual page 88

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

Function:
Loads data stored on a cassette tape into a variable.
Can be omitted.
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
|
|
| |

Advertisement

Table of Contents
loading

Table of Contents