Lines Matching full:level
34 # Starting with the caller's stack level, search upward in the call stack, for a variable named
41 for {set stack_ix $init_stack_ix} {$stack_ix <= [info level]} \
54 # Starting with the caller's stack level, search upward in the call stack, for a variable named
55 …# "${var_name}" and return its associated stack level. If the variable cannot be found, return -1.
59 …# init_stack_ix The level of the stack where the search should start. The defau…
60 # which is the caller's stack level.
64 for {set stack_ix $init_stack_ix} {$stack_ix <= [info level]} \
83 proc get_stack_proc_name { { level -1 } { include_args 0 } } {
85 # Get the name of the procedure at the indicated call stack level and return it.
88 # level The call stack level: 0 would mean this procedure's level (i.e.
89 … get_stack_proc_name's level), -1 would indicate the caller's level…
93 set_var_default level -1
96 set cmd_buf "set proc_name \[info level $level\]"
98 set cmd_buf "set proc_name \[lindex \[info level $level\] 0\]"
128 set stack_size [info level]
134 set proc_name [info level $stack_ix]
136 set proc_name [lindex [info level $stack_ix] 0]