up.p

Command/Update Processor, Releases: AP

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

Command Name Type Description
active.list Definition A list of strings delimited by attribute marks created by one of the list-generating processes.
up.zl Command To edit or create a prestore command in the prestore buffer.
up.z Command Initiates several separate UP commands.
up.zw Command Writes prestore buffer into a specified item.
up.prestore Command Description of UP prestored commands.
up.zn Command Moves cursor to the beginning of next page.
up Introductory

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.