TABLE OF CONTENTS


::pwtk::parseRangeStringNotIn

SYNOPSIS

proc ::pwtk::parseRangeStringNotIn {rangeString lastIndex} {

PURPOSE

Return the indices not included in [::pwtk::parseRangeString $rangeString $lastIndex].

ARGUMENTS

SOURCE

    set ran [::pwtk::parseRangeString $rangeString $lastIndex]

    set result {}
    for {set i 1} {$i <= $lastIndex} {incr i} {
        if { $i ni $ran } {
            lappend result $i
        }
    }
    return $result
}