You might need to insert null attributes (empty lines) into items, especially when creating dictionary items. This can be done in several different ways.
The commonest mistake users make when trying to create null attributes is to input a space instead of a null attribute. The space is a legitimate ASCII character (X'20').
The example below demonstrates how to create an item in input mode using CTRL+^ to create four null attributes.
:ED DICT XNAMES 1 |
Create a new dictionary item called '1' in the XNAMES file Input CTRL+^ four times. Note that CTRL+^ echoes as ^ on your terminal.Attributes 4-8 are null |
The next example shows that you can do the same thing by creating your item on one continuous line and inserting two adjacent attribute marks where the null attribute is to be.
:ED DICT XNAMES 1 |
Create the new item 1 in
the XNAMES file. Note that each ^ is created by pressing CTRL+^. |
The following example shows you how to create an item using space characters (X'20') in place of the null attributes and then use the R command to replace the space characters with nulls.
:ED DICT XNAMES 1 |
Create the new dictionary item 1 in the XNAMES file. Press the space bar (X'20') where the null attributes are to be. Replace the spaces with nulls. Note that using the : as a delimiter restricts the search to column one. This means that other spaces in the text are not affected by the replacement. |