STE 80722 
– 157 – 
5.4  Ram Files 
 
5.4.1  User Files (Work files) 
 
The user files store some programs and positional data. 
 
Main program or global 
variable (The program 
described at the 
beginning of the file 
becomes the main 
program.) 
The portion from the 
PROGRAM (program 
name) to END 
becomes one 
program. 
(Programs other than 
Positional data 
(The portion from DATA 
to END is called a data 
block in which the 
positional data are 
described.  The data 
block is placed at the 
END   
 
As shown in the above figure, the main program or global variable data at the 
beginning of the file, subprograms, and finally data block, in which the positional 
data are described, are placed in that order.    The delimiting codes for file names 
and programs and the check sum are not placed.    At the end of each line, a 
carriage return code is placed.    At the end of the file, an EOF code is placed.