You can specify a range of consecutive values in a single
case low ... high:
This has the same effect as the proper number of individual
labels, one for each integer value from low to high, inclusive.
This feature is especially useful for ranges of ASCII character codes:
case 'A' ... 'Z':
Be careful: Write spaces around the
..., for otherwise
it may be parsed wrong when you use it with integer values. For example,
case 1 ... 5:
rather than this:
Go to the first, previous, next, last section, table of contents.