Toys - description editor Adeventyur - PAW (part 4).

ZX Format #06
 18) Compress Text (Compressing text).

Published "Compress database (Y / N)?"
Shrink database (Y / N)? ", And any response other than" Y "" D 
"will be considered negative, and will return to the main menu. 
If the answer was positive, then the database inserts 
Dictionary of 222 bytes. Next, the scanning of the database for 
the presence of 90 the most common combinations of letters

that when it detects are replaced by tokens with numbers from 
154 to 255. This compression method can reduce the size texts 
by about 40%, which 128K machine will give approximately 160K 
of working space. 

Notes:

 1: During editing, the cursor can
jump not one but several characters for the text tokenization.
When correcting a place you want to remove the token and 
re-enter all the characters - They will again be token after

will again be selected Compress text.

 2: When compressing will be replacing some of the most 
commonly used for English keyboard letters on a token!


 19) Save Database (Save database).

The database is stored as a sequence of Vail, two per page.
The tenth position in the file name is replaced
the letters A to L - sequence
files.

 20) Verify Database (check database).

Proishozdit verification database stored
Data on the identity of the contents of memory.

 21) Load Database (Download Database)

The database files are loaded into memory
overwritten and found there a database.

Notes:

 1: If at boot time will be found
error or pressed BREAK, then that database that will be in 
memory, will dead. Such a database can not be used because it 
can lead to incorrect work as an interpreter and

Editor (up sagging car).
Team is the only safe
Load Database Editor, which
must be performed before a successful boot
database into memory.

 2: The disk version may be slight changes.

 22) Save Adventure (Game Record).

Writes Larry and database
as a series of files with that name so that the game can, zhno 
run as any normal program without PAW.


 23) Verify Adventure (check the game).

Validates the game record.
_______________________________