TABLE OF CONTENTS


::pwtk::path::nImages

SYNOPSIS

proc ::pwtk::path::nImages {pathFile} {

PURPOSE

Get the number of images in the 'pathFile' neb.x path file.

SOURCE

    ::pwtk::fileMustExist $pathFile "neb.x path file"

    set pathL [split [::pwtk::readFile $pathFile] \n]
    set ind [lsearch $pathL {NUMBER OF IMAGES*}]
    return [string trim [lindex $pathL $ind+1]]
}