Source: utils/misc/parse_lan_channel.pro
parse_lan_channel
Split a channel range into the "limit" channels, (e.g. P3-7 ->
[P3, P7] also make sure that any primes are placed at the end
(i.e. return P'5 as P5').
Usage:
channel = parse_lan_channel(chan)
Argument:
chan string The channel name to be parsed.
Keyword:
name_split If set, then return a structure with the
channel type name and two numbers for the
range.
Return:
channel string The parsed channel name or names.
Notes:
There is no validity check in this routine.
History:
Original: 24/11/99; SJT
Fix array/scalar problem: 7/2/00; SJT
Add special case for H3 & Name_split key: 9/2/00; SJT
Separate out trk channels, it's just too messy otherwise:
10/2/00; SJT
Modify 2-channel generator so it works for (e.g. M'3-12):
12/6/00; SJT