Alter

Purpose:  The ALTER editing command invokes the single line image editor (SLIM), described earlier in this section, on a line or range of lines.  Each line image is displayed before making it available for editing.

Syntax

A/LTER/ \\line1 [:line2]\\

line1

is the line number to be edited or the first line of a range of lines to be edited.

line2

is the last line of the range to be edited.

Example

--ALTER 810
00810  TYPE @QUALIFIED

The cursor is positioned at the first character of the line, e.g., “T” of “TYPE”.  Use the SLIM operations to edit the current line, terminating with a carriage return.

NOTES:  Up to ten lines or line ranges can be specified, separated by commas.

Because the ALTER editing command invokes SLIM, the line image editing characters (described earlier in this chapter) must be used to edit the specified line(s).  When line image editing is terminated on a line in a specified line range, TED displays the next line before making it available for editing until all lines in the range have been edited.

ACCENT R also provides an ALTER command which performs an entirely different function on DS records.  It is used to change values in DS records and is invoked at the command level.