HPlogo System Debug Reference Manual > Chapter 6 System Debug Command Specifications M-X

REDO

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Reexecutes a command from the history command stack after optionally editing the command.

Syntax



   REDO [cmd_string   ]
   REDO [history_index]

System Debug uses the same REDO editing commands as the REDO command supported by the MPE XL Command Interpreter. Please refer to the MPE XL Commands Reference Manual for specific details about editing commands.

Parameters


cmd_string

Redo the most recent command in the history stack that commences with cmd_string. For example, redo wh can be used to match the most recent while statement.

history_index

The history stack index of the command that is to be redone.

A negative index can be used to specify a command relative to the current command. For example, -2 implies the command used two commands ago.

REDO, entered alone, redoes the most recent command.

Examples



   %cmdebug > redo dq
   dq-176,20
       r4
   dq-146,20

Redo the most recent command that started with "dq".

Limitations, Restrictions


Upon initial entry into System Debug, the command stack is empty, since no prior command has been executed. If the REDO command is entered as the command, a blank command is provided for editing.

The MPE XL Command Interpreter allows an edit string to be specified on the REDO command line. This feature is not supported in System Debug.




PURGEDUMP


REGLIST