Deleting Statements from the Stack (.K)

The .K command deletes (kills) any statement from the stack.

Format

.Kn

Parameter(s)

n

Number of the statement to be deleted.

You can delete only one statement at a time from the stack. When you delete a statement, the statements preceding it in the stack are renumbered. Thus, if you want to delete several consecutive statements, delete them in reverse order.

See Also

Using the TCL Stacker

Referencing Other Processes

Listing the Stack (.L)

Executing Previous Statements (.X)

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)

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