next previous up contents index
Next: WORKFILE Previous: WF Up: The Commands in Detail


WIDTH   [?|n|V]
WIDTH

With the command WIDTH you can define how the data in the file to edit should be divided in editor lines. This command cannot be abbreviated.

The default setting of WIDTH is the value V (= variable); that means that the editor lines correspond to the file records 1:1. In the file, records are separated by a special character. This character is the so-called newline character (\n, X`0A'). When carrying out the command LOAD, the newline characters are not taken into the workfile if WIDTH V is valid, which is supposed to be normal. When the command FILE is executed, the newlines characters are added to every record of the workfile.

However, if you specified WIDTH n, the file to be read is split up into pieces of equal length, the length being n. Each of these pieces forms one record in the workfile. The newline characters in the file are read as normal data characters. When you write back onto the disk, the pieces from the workfile are aligned without the addition of other characters.


next previous up contents index
Next: WORKFILE Previous: WF Up: The Commands in Detail