Specifying ranges of fields
You specify a range of fields by nominating the first and last field reference of the range, separated by a hyphen, with or without intervening spaces. You can optionally enclose the range in parentheses.
These are valid ranges of fields:
#17-#19
#17 - #19
(#17-#19)
(#17 - #19)
To specify more than one range of fields:
- Enclose each field range in parentheses (optionally separated by commas), or
- Separate each field range with commas, but without any intervening spaces.
These are valid ranges of fields:
(#8-#11) (#17-#19) (#24-#25)
(#8-#11),(#17-#19),(#24-#25)
#8-#11,#17-#19,#24-#25
These are invalid ranges of fields:
#8-#11 #17-#19 #24-#25
#8-#11, #17-#19, #24-#25
Note:
- When using field ranges, the field reference number can not be subscripted.
For example,
#3(2) - #5(4)
is not valid syntax. - Field ranges can overlap. For example,
#2-#7, #5-#9
. In this case, the result is a consolidated single field range equivalent to#2-#9
.