Highlight three ways to repeat commands – HP Integrity NonStop H-Series User Manual

Page 131

Advertising
background image

Three Ways to Repeat Commands

Creating an Oversized Table

058060 Tandem Computers Incorporated

5–19

Highlight

Three Ways to Repeat Commands

Repeat Count.

You can use a repeat count (8# in the previous example) with

any command or string of commands. A repeat count is not the same as the
REPEAT command, discussed in the following paragraphs. If you use a
repeat count with a single command, you do not use the # sign. Type the
command to copy five words on the *C response line this way:

Command: 5 COPY WORD

Repeats the command

five times.

Without the # sign, the repeat count works only on the command
immediately following the count. If you want to repeat several commands,
as in the previous example with the long string, use the # sign after the
repeat count number.

FC Command.

If you do not want to use a repeat count, you can use the FC

command to give the same commands several times in a row without
retyping. FC is an acronym for fix command. Use FC to recall and reissue
commands you gave with *C. Follow these steps:

1.

Press *C.

2.

When the response line appears, type FC.

3.

Press *C again. TEDIT redisplays the series of commands you just
typed.

4.

Press *C again and TEDIT performs the commands again. You could
use FC in this way to reissue the long string of commands in the
previous example seven times instead of using the repeat count.

Advertising
This manual is related to the following products: