TABLE OF CONTENTS
::pwtk::input::pushpop
SYNOPSIS
proc ::pwtk::input::pushpop {script} {
PURPOSE
This is convenience proc. It is equivalent to:
::pwtk::input::push ... script ... ::pwtk::input::pop
but due to the usage of curly braces {}, it assures that ::pwtk::input::pop is not forgotten, because forgotten closing curly-brace results in a Tcl error, while forgotten ::pwtk::input::pop does not.
EXAMPLE
::pwtk::input::pushpop {
# script follows here ....
}
SOURCE
::pwtk::input::push uplevel $script ::pwtk::input::pop }