Tags: Programming Language.

Uplevel is a command in Tcl that allows a command script to be executed in a scope other than the current innermost scope on the stack. Because the command script may itself call procedures that use the uplevel command this has the net effect of transforming the call stack into a call tree.It was originally implemented to permit Tcl procedures to reimplement built-in commands (like for if or while) and still have the ability to manipulate local variables.

Loading...

This page contains content from the copyrighted Wikipedia article "Uplevel"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.