up.p
Executes the command in the prestore buffer.
Syntax
<ctrl>+p
Description
executes the command stored in the prestore buffer.
If there is no command in the prestore buffer, '<ctrl>+p' advances the cursor to the next page. This is equivalent to the '<ctrl>+zn' command.
When working on an 'active list', if '<ctrl>+p' is the last command in a prestore command, the entire prestore command is repeated until the list is exhausted.
See the (UP) 'zl' command for defining prestored commands.
Example
The example below shows how to create a prestore command which will be used to
search and replace text in a list of items.
get-list items
retrieve previously saved list
u document
invoke UP on document file
<ctrl>+zl
command to define prestore
a'old'r'new'nxfp<return>
actual prestore command
<ctrl>+p
execute the prestore command
The prestore command used in the example does the following:
a UP command to search
'old' text to search for
r UP command to replace
'new' text to replace with
n UP command to replace all occurences
xf UP command to file an item
p UP command to repeat prestore command
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
