Ordinal-range-list parameter – HP NonStop G-Series User Manual
Page 240
![background image](/manuals/397048/240/background.png)
Ordinal-Range-List Parameter
Range Summary
058061 Tandem Computers Incorporated
5–37
Ordinal-Range-List
Parameter
The ordinal-range-list parameter is based on the ordinal-range parameter. It
allows an optional repetition of the ordinal-range parameter when an editor
command will accept it. Because the repetition of the ordinal-range is
optional, an editor command offers more flexibility when the syntax
specifies an ordinal- range-list. An ordinal-range-list parameter can
represent one or more lines in your file.
Syntax of the Ordinal-
Range-List Parameter
ordinal-range-list:
is
ordinal-range [ ordinal-range ] ...
Refer to the previous presentation of the Ordinal-Range Parameter for a full
description.
Examples
Suppose the current file named SIXPENCE 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!
16.2
17 The king was in his counting-house
18 Counting all his money.
20 The queen was in the parlor
21 Eating bread and honey.
22 The maid was in the garden
23 Hanging up the clothes.
24 Along came a blackbird
25 And snipped off her nose!