?he 'STOREDATA''Page %'
?fo 'Aaron Sloman'- % -'3rd March 1977'
.mh
SAVING A DATABASE IN A DISC FILE
.br
====== = ======== == = ==== ====
.hm
If you wish to save the current state of your databse (see the
DATABASE 
demo) in a file, then you will find the function
STOREDATA
useful.
.sp
It takes the name of a disc file as argument. For example, if you
wish to store the current database in a file called
'MYDATA.P',
type:
.sp
 	: STOREDATA("MYDATA");
.sp
or, equivalently:
.sp
 	: STOREDATA('MYDATA.P');
.sp
later, e.g. in another programming session, you can restore the
contents of the database by typing:
.sp
 	: LOAD MYDATA;
.sp
or, equivalently,
.sp
 	: LOAD 'MYDATA.P';
.sp
This can be used for writing programs which learn by interacting
with the user. What they learn in one session can be stored in
a file and used in the next session.
