HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-122
B Breakstheline intotwo lines,moving the characterabove theB and allfollowing char-
acters to the next line. The second line becomes the current edit line.
D Deletes the character above the D. You may also use a D below both the first and last
character to be deleted with either spaces or Ds between thus deleting all characters
between the first and last D inclusive.
E Exits the REDO editing mode without executing the edited command. All REDO sub-
commands issued between the REDO command and the EXIT command are ignored.
H Listsall availableeditingsubcommandsinREDO mode. Your currenteditlineisthen
redisplayed.
I Inserts one or more characters immediately preceding the character that is above the
I. You can join a delete and insert by using D's followed by an I and the characters to
be inserted.
L Lists the complete command as it is currently edited and then redisplays the line you
are currently editing.
R Replaces the characters above with the new characters you enter. The first character
replaced is the one above the R.
X Executes the current command as it has been edited.
+ Places the cursor on the next line of the command you are editing. You can enter + fol-
lowed by an number n, for the number of lines you want to skip forward. If you do not
enter a number, the default is to move forward one line. If the number of lines ad-
vanced moves the cursor beyond the end of the command, the cursor is moved to the
last line of the command.
Places the cursor on the previous line of the command you are editing. You can enter
- followed by n, for the number of lines you want to skip backward. If you do not enter
a number, thedefault is to move backward oneline. If the numberof lines moved plac-
es the cursor before the first line of the command, the cursor is moved to the first line
of the command.
[[RETURN]] Places the cursor on the next line of the command you are editing, if the cursor is not
currentlyon thelastline ofthecommand.Ifthe cursorison thelastline,thecommand
executes as it has been edited.
Description
You can use the REDO command to edit any of the previous 20 commands you issued. When you issue the
REDO command you will enter an editing mode and the first line of the command is displayed for
modification. To modify the command, use the previous subcommands. If you enter any character other
than a valid subcommand, it and all following characters are interpreted as replacement characters and
they replace the characters above them in the command. For example, if you type "TYPE" below a set of
characters, the word "TYPE" replaces the four characters in the command line above.
The REDO command is not allowed when executing in a macro, when input is from a file, or when you are
executing in batch mode. Because dictionary commands can span more than one line, REDO allows you to
edit the command, line by line. You therefore do not have to reenter the entire command when an error is
made. Once you issue the REDO command, you are placed in edit mode and the first line of the command
is displayed for modification. If you press [[CONTROL]] Y during processing, the REDO command
terminates as if you specified the E subcommand.