next previous up contents index
Next: Help Previous: Searching Data Up: First Steps


Changing Data

In section Changing Data Directly you learnt to manage the direct change of data. Another possibility to do changes was the use of a number command with an existing number. But with the help of the number command you could only change the whole lines.

One more method to change data offers the command CHANGE; its minimal abbreviation is C:

In this example, the character string

will be replaced by the character string

in the current line. The character `/' again functions as delimiter of the character string. As you have just learnt in the previous section, you can also use other characters as delimiters.

You will like to make the same change in several lines frequently. For this purpose, you can add a definite number of lines to your change command. For example, the following command

- beginning in the current line - moves the data by one position to the right; this change is done within five lines. The `old' character string is empty (two delimiters follow each other directly). This character string occurs at the beginning of each line. The `new' character string contains one space. More about the use of the CHANGE command can be found in the chapter The Editor and Its Commands.


next previous up contents index
Next: Help Previous: Searching Data Up: First Steps