beautypg.com

Range summary, The command, Returns with this message – HP NonStop G-Series User Manual

Page 238

background image

Ordinal-Range Parameter

Range Summary

058061 Tandem Computers Incorporated

5–35

3.

As the GET command can be used to move lines into your current file
from other files, the GET command accepts the ordinal-range parameter
to reference the ordinal positions of lines in a file rather than strings.
Suppose for the following example that the EDIT file named PIE
contains these lines:

12 Sing a song of sixpence

13.1 A pocket full of rye.

13.2 Four-and-twenty blackbirds

13.3 Baked in a pie.

14 When the pie was opened,

15 The birds began to sing.

16 Wasn't that a dainty dish

16.1 To set before the king!

The command:

*GET PIE NUM 5 TO 2

returns with this message:

LAST NEW LINE IS 2.1 <- 14

CURRENT FILE IS $WORK.POEMS.BIRD

This manual is related to the following products: