TABLE OF CONTENTS


::pwtk::input::scriptPrepend

SYNOPSIS

proc ::pwtk::input::scriptPrepend {name prependScript} {

PURPOSE

Prepend new content to the begining of the existing script named $name.

ARGUMENTS

SOURCE

    variable script
    
    ::pwtk::ifexist script($name) {
        return [set script($name) "$prependScript\n$script($name)"]
    } else {
        return [set script($name) "$prependScript"]
    }
}