Canon X-07 User Manual page 42

Table of Contents

Advertisement

The RAM file and the text area
1. 5 . 2
Th e area of memory which you can use is divided into the text area and the
RA M file. The text area is where a program is edited and executed. We have
not paid particular attention to this area, but all the previous programs were
created and executed in this area. the RAM file is the area in memory for sav­
ing programs.
Let's save the previously created program into the RAM file.
REN P
RO
10
INPUT "A , B"; A, B
20
PRINT "A+ B"; A+ B;
30
PRINT "A-B";A-B
40
PRINT "A * B"; A * B;
50
PRINT "A/B"; A/B
60
To save this program into the RAM file, first the size of the RAM file must be
set.
FSET
1024
Next, the program is saved with a name (called a "file name"). (Always save a
program with a file name.)
SAVE "PROG1"
Now, the program is saved in the RAM file with the file name "PROGl ".
The DIR command is used to make sure that the program has been saved in
the RA M file .
DIR
T he following is displayed on the LCD.
GRA
+ - * '
M
.
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents