Tcl Easy · Lesson 5
Procedures in depth: recursion, tailcall, uplevel and return codes
Write recursive procs, use tailcall to keep the stack flat, inspect callers with info level, run code in the caller with uplevel, and raise errors.
Lessons · Tcl Easy · Lesson 5 of 10
Procedures in depth: recursion, tailcall, uplevel and return codes
Write recursive procs, use tailcall to keep the stack flat, inspect callers with info level, run code in the caller with uplevel, and raise errors.

