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

4- 121
Example
The following example sets attribute prompting OFF and specifies the file mymacro to be used as the
macro file.
>OPTIONS PROMPT = off;
>>MACRO = mymacro.
>
REDO
Allows error correction or changes to any of the last 20 commands issued.
Syntax
REDO [qualifier ] [.]
Parameters
qualifiers Youchoose thecommand toedit usingthe REDOcommand withan optionalqualifier.
The possible qualifiers include:
No qualifier No qualifier means to edit the previous command. Example:
REDO
Absolute number An absolute number is a positive number between 1 and 20,
inclusive, that indicates the command on the redo stack
corresponding to the number entered that is to be selected for
processing. Example: REDO 4
Relative number A relative number is a negative number between -20 and -1,
inclusive, that indicates the command on the redo stack at the
specified offset from the current REDO command that is to be
selected for processing. Note that a relative offset of -1 is
equivalent to no qualifier, as it specifies the previous command.
Example: REDO -5
Character string A character string is a string of characters that can be accepted
as a valid System Dictionary name. The string is used as a
pattern (no selection criteria can be used) to search back into the
redo history stack to find the first command starting with
characters that match the specified string. Note that the case of
the letters is important since an exact match is required. The
corresponding command is then selected for processing.
Example: REDO CREATE.
Quoted string A quoted string is a string of characters surrounded by quotes.
A quoted string works the same as a character string except
that the quotes allow the inclusion of characters, including
blanks, that are not allowed for character strings. Example:
REDO "CREATE ENTITY"
Subcommands
A Appends one or more characters following the subcommand to the end of the current
line, regardless of the position of the subcommand.