beautypg.com

HP NonStop G-Series User Manual

Page 97

background image

ADD Command

EDIT Command Summary

4–18

058061 Tandem Computers Incorporated

2.

Suppose you have a file named TOM. The command:

*ADD 35 BY 1
35 Tom, Tom,
36 The piper's son
37 Stole a pig
38 //
*

The numbering

increment is 1 by

default; typing BY 1

here is optional.

starts adding text at line number 35. Line number 37 is the last line of
new text as well as the current line.

3.

The increment parameter of the previous ADD command is 1, and the
last line of new text is line number 37. Therefore, the command:

*ADD

38 And away he run.

39 Tom, Tom,

40 //

*

starts adding text at line number 38. Line number 39 is the last line of
new text as well as the current line.

4.

The command:

*ADD 40.01

40.01 The piper's son

40.02 He learned to play

40.03 When he was young;

40.04 //

*

causes the EDIT program to use a numbering increment of .01. Line
number 40.03 is the last line of new text as well as the current line.

This manual is related to the following products: