next previous up contents index
Next: Changing Data Directly Previous: Keys to Delete and Insert Characters Up: First Steps


Editing a File That Already Exists

The next thing you might do is to edit the file exafil1, that you have just created, again. To do this, you type

and you receive the following picture:

            1         2         3         4         5         6         7         8
   12345678901234567890123456789012345678901234567890123456789012345678901234567890
  +--------------------------------------------------------------------------------+
 1|                                                                                |
 2|                                                                                |
 3|                                                                                |
 4|                                                                                |
 5|                                                                                |
 6|                                                                                |
 7|                                                                                |
 8|MAIN     exaEdit 02B TOP LINE exafil1                                           |
 9|000100 This is the first line.                                                  |
10|000200 The 2nd line                                                             |
11|000300 line three                                                               |
12|                                                                                |
13|                                                                                |
14|                                                                                |
15|                                                                                |
16|       ....;....1....;....2....;....3....;....4....;....5....;....6....;....7...|
17|                                                                                |
18|exaEdit                                                                         |
19|_                                                                               |
20|                                                                                |
21|                                                                                |
22|                                                                                |
23|                                                                                |
24|    MAIN          exafil1                                               3 19/ 1 |
  +--------------------------------------------------------------------------------+
Compared to the last picture in the lesson Creating a File the following has changed: Both in the top line and in the status line there is the file name

put down. If you now make some changes in the workfile, you only need to enter the command

to save them at the end; exaEdit will write the workfile in the file exafil1.

But you could also write the workfile into another file by indicating its name in the FILE command:

Please, enter this command. After this, you receive the following request, again:

In contrast to the lesson Creating a File, I now suggest that you press any (character) key except J or Y. As this could happen involuntarily (you actually wanted to type Y but you missed the key), exaEdit warns you by giving a message and a sound that the FILE command has not been finished.

But now, in order to have a second file for later lessons, you repeat the FILE command, please, and answer the question with J or Y. Then finish this exaEdit session with the command QUIT or END.


next previous up contents index
Next: Changing Data Directly Previous: Keys to Delete and Insert Characters Up: First Steps