Executing Previous Statements (.X)

Any statement can be re-executed from the stack. The .X command without any parameters executes the top statement in the stack (the last statement entered). In addition, the command accepts parameters as follows:

.Xn   [,n1, n2,...]

Parameter(s)

n

Statement number identifying a statement in the stack. This statement is moved from its original position to the top of the stack (the last statement entered). A series of statements can be executed by specifying the numbers of these statements, separated by commas, in the order of execution.

The statement is displayed before the command is executed. The command is not duplicated on the stack unless n1 equals n2.

See Also

Using the TCL Stacker

Referencing Other Processes

Listing the Stack (.L)

Modifying Previous Statements

Editing the Stack (.E)

Choosing a Command to Modify

Replacing Text in the Stack (.M)

Appending Text (.A)

Storing a Series of Statements (.C)

Retrieving an Item (.R)

Deleting Statements from the Stack (.K)

Setting TCL Stacker Options (.O, .P, .U)