TABLE OF CONTENTS


::pwtk::input::namelistParse_

SYNOPSIS

proc ::pwtk::input::namelistParse_ {name} {

DESCRIPTION

Parses the namelist $name, which is stored in $pwtk::input::namelist($name), so that the values of the variables are stored in pwtk::input::namelist($name,var=$var) array.

ARGUMENTS

SIDE EFFECTS

At the end the pwtk::input::namelist($name) variable is cleared.

SOURCE

    global pwtk::input::namelist

    if { [info exists pwtk::input::namelist($name) ] } {
        namelistParseContent__ $name $pwtk::input::namelist($name)

        # clear the content of namelist($name)

        set pwtk::input::namelist($name) ""
    }
}