Echo #03
31 марта 1997

Book - Secrets ZX-Spectrum: Editor.

<b>Book</b> - Secrets ZX-Spectrum: Editor.
   Chapter 2.


   P E R A C T O R



   Editor (EDITOR) - is encased in a
ROM program that promotes human-computer interaction: data 
entry, their modifications and adjustments. All that

we type on the keyboard, usually appears at the bottom of the 
screen. Any text in this area can be modified or

edit. Keys  and 
(Left and right arrows in the ZX-SPECTRUM +)
can move the cursor along the current line without erasing the 
information. To erase characters, key

 ( In the ZX-SPECTRUM +). Erased character 
located immediately before the cursor, and the BASIC keywords 
are treated as individual characters. 


   During the recruitment program or operational directives 
editor in many cases (After entering a keyword, ":", THEN and

etc.) itself changes the input mode (between K,
L, C), protecting the user from accidental
errors. But if such a mistake should be done
specifically, it is possible to "cheat"
inserting, for example: "for the regime K, and then removing 
it. Such deception, Of course, not preclude the subsequent 
troubles with the incorrect line in program.



   End of edit, input, command line or the next program line 
indicated by the key <ENTER>. PC lightning checks the syntax 
(ie, correct use of language elements

BASIC). In case of necessity, in a strange place to him you see 
a flashing sign question. It may appear much

more than a mistake, for example, in the absence of a closing 
parentheses. In a complex SPECTRUM expression is unable to 
determine the place where it was necessary to insert and will 
signal an error only at the end of the expression. 


   But the perception of the line computer does not guarantee 
the correctness of its logic, nor agreement with the wishes of 
the author. 


   There is no way to force the computer to
remembering wrong (in terms of syntax
BASIC, not the logic of the program) a sequence of commands. 
Incidentally, this means that without joining INTERFACE ZX-1 
can not even prepare a control program for the exchange with 
the memory type MICRODRIVE, because you can not even enter

enough for this specific commands.


   If the corrected position available
control characters, moves the cursor
sometimes behaves strange and unusual (disappears, retreating). 
It is not necessary because of this upset. In the process of 
removing such characters may appear as question marks, which 
should be removed separately - These control characters are 
normally occupy 2 bytes of memory and SPECTRUM, the forced

illuminate the sign code less than 32, brings in its place a 
question mark, if can not interpret it differently.



   To correct already entered into the memory
line program, you have to first
copy at the bottom of the screen. With this
to move the current row
(>) Up and down keys and 
 (To ZX-SPECTRUM + - and up arrows
down). At longer programs faster using instruction LIST n. Can
enter the number of slightly less than the number
desired line, if you are confident that
program is no line with that number, you do not accidentally 
overwrite the row. After clicking <ENTER> pointer will be set 
on the first line number greater than specified. Or at the 
latest, if not specified in the program. Pointer ">" after such 
an enterprise, may be temporarily invisible, but after clicking 
 ( <EDIT> In the ZX-SPECTRUM +) the desired line will be 
copied into the working field of the editor. 


   Pressing one <ENTER>, with empty bottom of the screen leads 
to the emission fragment program, which includes current

string (pointed to ">"). Once we can introduce the operator of 
any length. Initially, the lower portion of the screen will be 
automatically extended, but gradually the computer will react 
more slowly, Signaling a growing dissatisfaction

human actions. After storing 22
rows protest computer will be much sharper. He no longer 
highlight the following characters, the keyboard and every 
keystroke respond unpleasant nag. But despite this, he continue 
to accept and remember all that you earn. Its resistance can be 
mitigated, modifying the relevant system variables. Key  
(<EDIT>) also allows a one-time removal of the entire bottom of 
the screen. 




Other articles:

Introduction - On the control interface of the newspaper.

Assembler - An interesting trick with the assembler.

roof was demolished - DI: HALT is not always caused a breakdown of ... Santa Claus.

fun begin - The main event of 1996. Dictionary programmer.

own opinion - IMP talks about the development of Russia's ZX-demoscene.

What are heard behind the hill - What is now doing all the known Western manufacturers software on Speccy? ..

Hour ottyaga - Notes of a Terminator T-1000.

Small news - What happens to the Speccy in Belarus? ..

Form - The survey goes on ...

Fantasy - A fantastic tale "Ice and Flame" (continued).

Prikolchik - Prikolchik's Navapolatsk?. What letter comes to us in the laboratory.

Description - Description, prohodilka game BLINKY'S SCARRY SCHOOL.

Presentation - REALSOFT is a strategic game Technodrom.

Ottyag - have a good time can be different. Book of problems - "puzzles" math.

Programmers - On additional functions TR-DOS 5.04.

Programmers - On the music format modules Sound Tracker Pro and source player.

HARDWARE - Mode switch Profi / Pentagon.

Tricks-2 - How to throw a screen to one INT.

Tricks-2 - On the correct handling Retry / Abort / Ignore in the TR-DOS.

interesting letter - Letters from readers containing two different things: - If you burn a floppy drive on the buggy;

Presentation-2 - Description of the TEXT PRINT v1.2.

Humor - A story about Stirlitz.

Humor - Stirlitz: Elephants go north.

Book - Secrets ZX-Spectrum: TOC.

Book - Secrets ZX-Spectrum: Keyboard.

Book - Secrets ZX-Spectrum: Editor.

Book - Secrets ZX-Spectrum: ZX-BASIC.

Book - Secrets ZX-Spectrum: Computer Arithmetic.

Book - Secrets ZX-Spectrum: memory usage.

Book - Secrets ZX-Spectrum: BASIC system variables.

Book - Secrets ZX-Spectrum: Channels and Streams.

Book - Secrets ZX-Spectrum: System Procedures.

Book - Secrets ZX-Spectrum: Bugs in the System.

Advertising - Advertisements and announcements ...

Afterword - That was not included in this number.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
four kilobytes - The new name of the group - Steel Falcons.
News - Rostov news from Klim / OHG / XXL.
Ot edition - coming Enlight'97.
4 kilobytes - anniversary of the newspaper and a computer Mezhdunarodny Festival iskusstva Chaos Constructions 2000 (CC'000).

В этот день...   21 November